<?php
 namespace Modules\Reports\BspStructure\AirlineReport; class Controller extends \App\Mvc\Controller\Window\PaginatedListing\ListingAbstract { protected $listOrderingColumns= ['id']; protected function list_getDefaultParams() { $CFG = \Engine\Loader_Cfg::getInstance()->getGlobal(); $defaultFilters = $this->cfg['listingParams']; $defaultFilters['filters']['systems'] = []; foreach ($CFG['Reports']['BspStructure']['AirlineReport']['listingParams']['filters']['systems'] as $system) { $defaultFilters['filters']['systems'][] = \Entity\ExtResSystem::getSystemIdByCode($system); } return $defaultFilters; } protected function optionDefineParams(\App\Mvc\View\Utils\RowOptions\Option\Option $option, $selection) { switch($option->getId()){ default: return false; } return true; } protected function optionGetEntityName($id) { return null; } } 