<?php
 namespace Modules\Partners\SupplierProducts; use \App\Mvc\View\Utils\Types\ListingColumn; use \App\Mvc\View\Utils\Types\ListingColumns; class View_List extends \App\Mvc\View_Window_PaginatedListing_ListAbstract { protected $resultsPerPageList = [5, 10, 15, 20, 25, 30, 40, 50, 100]; protected function list_getThDetails() { return ListingColumns::create() ->append( ListingColumn::create('serviceCode') ) ->append( ListingColumn::create('productName') ->setSortable('ASC')->setWidth(25) ) ->append( ListingColumn::create('destination') ->setWidth(20) ) ->append( ListingColumn::create('duplicationStatus') ) ->append( ListingColumn::create('idAddUser') ) ->append( ListingColumn::create('addTime') ->setWidth(10)->setSortable('DESC')->setType('datetime') ) ->loadLabels($this->lang['index']['listCols']) ->loadSettings($this->input['listingParams']->getDynamicColumnsSettings()); } } 