<?php
namespace Modules\Orders\Worldspan\ServicesList; class Controller extends \App\Mvc\Controller\Window\PaginatedListing\ListingAbstract { protected $listOrderingColumns= ['id']; protected function optionDefineParams(\App\Mvc\View\Utils\RowOptions\Option\Option $option, $selection) { switch($option->getId()){ default: return false; } return true; } protected function optionGetEntityName($id) { $service = \Entity\WorldspanService::select($id); return sprintf("%s/%s", $service->docNumber, $service->docDate); } } 