<?php
 namespace Modules\Utils\AppReports; 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, 40, 50, 100]; protected function list_getThDetails() { return ListingColumns::create() ->append( ListingColumn::create('name') ->setLabel("Name") ) ->append( ListingColumn::create('sql') ->setLabel("Sql") ) ->append( ListingColumn::create('monthTable') ->setLabel("Month table") ) ->loadLabels($this->lang['index']['listCols']) ->loadSettings($this->input['listingParams']->getDynamicColumnsSettings()); } protected function render_prepare($smarty) { $this->setPageTitle("Application reports"); parent::render_prepare($smarty); } } 