<?php
 namespace Modules\Admin\Users; class View_List extends \App\Mvc\View_Window_PaginatedListing_ListAbstract { protected function list_getThDetails() { $columnName = \App\Mvc\View\Utils\Types\ListingColumn::create('lastName'); $columnName->setSortable('ASC'); $columnOffice = \App\Mvc\View\Utils\Types\ListingColumn::create('idOffice'); $columnOffice->setType('officeLabel'); $columnDepartment = \App\Mvc\View\Utils\Types\ListingColumn::create('idDepartment'); $columnDepartment->setType('departmentLabel'); $columnJob = \App\Mvc\View\Utils\Types\ListingColumn::create('job'); $columnTelephone = \App\Mvc\View\Utils\Types\ListingColumn::create('telephone'); $columnEmail = \App\Mvc\View\Utils\Types\ListingColumn::create('email'); $columnLastLogin = \App\Mvc\View\Utils\Types\ListingColumn::create('lastClick')->setSortable('ASC'); $columnLastLogin->setType('datetime'); $columnAddTime = \App\Mvc\View\Utils\Types\ListingColumn::create('addTime'); $columnAddTime->setType('date'); $columnAddTime->setSortable('ASC'); $columns = \App\Mvc\View\Utils\Types\ListingColumns::create(); $columns->append($columnName); $columns->append($columnOffice); $columns->append($columnDepartment); $columns->append($columnJob); $columns->append($columnTelephone); $columns->append($columnEmail); $columns->append($columnLastLogin); $columns->append($columnAddTime); $columns->loadLabels($this->lang['index']['listCols']); $columns->loadSettings($this->input['listingParams']->getDynamicColumnsSettings()); return $columns; } } 