Пример #1
0
 public function __construct()
 {
     parent::__construct(array('className' => '\\Eve\\Model\\PlanetarySystem', 'route' => 'planetary-system', 'showRoute' => 'planetary-system/show', 'searchRoute' => 'planetary-system/search', 'indexRoute' => 'planetary-system/index', 'viewBasePath' => 'eve/planetary-system/', 'show' => array('notFoundRouteName' => 'planetary-system', 'header' => 'eve/planetary-system/show/header', 'tabs' => array('locationsTab' => array('partial' => 'eve/standard/show/locations', 'tabName' => 'Locations'), 'connectedToTab' => array('criteria' => function ($entity) {
         return \count($entity->getConnectedPlanetarySystems()) > 0;
     }, 'partial' => 'eve/planetary-system/show/connected-to', 'tabName' => 'Connected to'), 'stationsTab' => array('criteria' => function ($entity) {
         return \count($entity->getStations()) > 0;
     }, 'partial' => 'eve/planetary-system/show/stations', 'tabName' => 'Stations'), 'viewersTab' => array('partial' => 'eve/planetary-system/show/viewer', 'tabName' => 'Viewer'))), 'index' => array('orderBy' => 'name'), 'search' => array('searchField' => 'name')));
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct(array('className' => '\\Eve\\Model\\Corporation', 'route' => 'corporation', 'showRoute' => 'corporation/show', 'searchRoute' => 'corporation/search', 'indexRoute' => 'corporation/index', 'viewBasePath' => 'eve/corporation/', 'show' => array('notFoundRouteName' => 'station', 'header' => 'eve/corporation/show/header', 'tabs' => array('propertiesTab' => array('partial' => 'eve/corporation/show/properties', 'tabName' => 'Properties'))), 'index' => array('orderBy' => 'name'), 'search' => array('searchField' => 'name')));
 }
Пример #3
0
 public function __construct()
 {
     parent::__construct(array('className' => '\\Eve\\Model\\Station', 'route' => 'station', 'showRoute' => 'station/show', 'searchRoute' => 'station/search', 'indexRoute' => 'station/index', 'viewBasePath' => 'eve/station/', 'show' => array('notFoundRouteName' => 'station', 'header' => 'eve/station/show/header', 'tabs' => array('locationTab' => array('partial' => 'eve/station/show/location', 'tabName' => 'Location'), 'reprocessingTab' => array('partial' => 'eve/station/show/reprocessing', 'tabName' => 'Reprocessing'))), 'index' => array('orderBy' => 'name'), 'search' => array('searchField' => 'name')));
 }
Пример #4
0
 public function __construct()
 {
     parent::__construct(array('className' => '\\Eve\\Model\\Faction', 'route' => 'faction', 'showRoute' => 'faction/show', 'searchRoute' => 'faction/search', 'indexRoute' => 'faction/index', 'viewBasePath' => 'eve/faction/', 'show' => array('notFoundRouteName' => 'faction', 'header' => 'eve/faction/show/header', 'tabs' => null), 'index' => array('orderBy' => 'name'), 'search' => array('searchField' => 'name')));
 }