<?php
 namespace Modules\Admin\Config\Remarks; use \App\Mvc\View\Utils\Types\ListingColumns; use \App\Mvc\View\Utils\Types\ListingColumn; class View_List extends \App\Mvc\View_Window_PaginatedListing_ListAbstract { protected $resultsPerPageList = [5, 10, 15, 20, 25, 30, 50, PHP_INT_MAX]; protected function list_getThDetails() { return ListingColumns::create() ->append( ListingColumn::create('category') ->setLabel($this->lang['index']['listingColumns']['category']) ->setSortable('ASC') ) ->append( ListingColumn::create('name') ->setLabel($this->lang['index']['listingColumns']['name']) ->setSortable('ASC') ) ->append( ListingColumn::create('assisted') ->setLabel($this->lang['index']['listingColumns']['assisted']) ->setSortable('ASC') ) ->append( ListingColumn::create('order') ->setLabel($this->lang['index']['listingColumns']['order']) ->setSortable('ASC') ) ->append( ListingColumn::create('lastUpdate') ->setLabel($this->lang['index']['listingColumns']['lastUpdate']) ) ->loadLabels($this->lang['index']['listCols']) ->loadSettings($this->input['listingParams']->getDynamicColumnsSettings()); } } 