Source
70 return ProgrammaPage::get()->filter(array('ParentID' => $this->getAnnoEdizioneInCorso()->ID))->First();
71 }
72
73
74 public function getEventiPrimoPianoHP(){
75 return EventoPage::get()->filter(array('ParentID' => $this->getProgrammaEdizioneInCorso()->ID))->sort('RAND()')->filter(array('PrimoPiano' => 1));
76 }
77
78 public function getEventiPrimoPiano(){
79 return EventoPage::get()->filter(array('ParentID' => $this->getProgrammaEdizioneInCorso()->ID))->filter(array('PrimoPiano' => 1));
80 }
81
82 public function getEventiPercorsiRandom(){
83 return $this->Evento()->sort('RAND()')->limit(1);
84 }
85
Trace
- Page->getEventiPrimoPiano()
Object.php:746
- SS_Object->__call(geteventiprimopiano,Array)
ViewableData.php:466
- ViewableData->obj(getEventiPrimoPiano,,1,,)
SSViewer.php:99
- SSViewer_Scope->getObj(getEventiPrimoPiano,,1,,)
SSViewer.php:625
- SSViewer_DataPresenter->getObj(getEventiPrimoPiano,,1,,)
SSViewer.php:119
- SSViewer_Scope->obj(getEventiPrimoPiano,,1,,)
SSViewer.php:619
- SSViewer_DataPresenter->obj(getEventiPrimoPiano,,1)
.cache.themes.play.templates.Layout.HighlightPage.ss:16
- include(/var/www/html/play/play2027/public_html/silverstripe-cache/www-data-php7.4.11/.cache.themes.play.templates.Layout.HighlightPage.ss)
SSViewer.php:1172
- SSViewer->includeGeneratedTemplate(/var/www/html/play/play2027/public_html/silverstripe-cache/www-data-php7.4.11/.cache.themes.play.templates.Layout.HighlightPage.ss,HighlightPage_Controller,,Array,)
SSViewer.php:1234
- SSViewer->process(HighlightPage_Controller,)
SSViewer.php:1230
- SSViewer->process(HighlightPage_Controller)
Controller.php:201
- Controller->handleAction(SS_HTTPRequest,index)
RequestHandler.php:208
- RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
Controller.php:151
- Controller->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:174
- ContentController->handleRequest(SS_HTTPRequest,DataModel)
MultilingualPage.php:246
- MultilingualPage_Controller->handleRequest(SS_HTTPRequest,DataModel)
GeneralPage.php:761
- GeneralPage_Controller->handleRequest(SS_HTTPRequest,DataModel)
GeneralPage.php:747
- GeneralPage_Controller->handleRequest(SS_HTTPRequest,DataModel)
ModelAsController.php:75
- ModelAsController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:385
- Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:149
- Director::direct(/2027/highlights/,DataModel)
main.php:211