Source
69 return ProgrammaPage::get()->filter(array('ParentID' => $this->getAnnoEdizioneInCorso()->ID))->First();
70 }
71
72
73 public function getEventiPrimoPianoHP(){
74 return EventoPage::get()->filter(array('ParentID' => $this->getProgrammaEdizioneInCorso()->ID))->sort('RAND()')->filter(array('PrimoPiano' => 1));
75 }
76
77 public function getEventiPrimoPiano(){
78 return EventoPage::get()->filter(array('ParentID' => $this->getProgrammaEdizioneInCorso()->ID))->filter(array('PrimoPiano' => 1));
79 }
80
81 public function getEventiPercorsiRandom(){
82 return $this->Evento()->sort('RAND()')->limit(1);
83 }
84
Trace
- Page->getEventiPrimoPiano()
- call_user_func_array(Array,Array)
Object.php:711
- Object->__call(getEventiPrimoPiano,Array)
ViewableData.php:446
- HighlightPage_Controller->getEventiPrimoPiano()
ViewableData.php:446
- ViewableData->obj(getEventiPrimoPiano,,1,,)
SSViewer.php:99
- SSViewer_Scope->getObj(getEventiPrimoPiano,,1,,)
SSViewer.php:618
- SSViewer_DataPresenter->getObj(getEventiPrimoPiano,,1,,)
SSViewer.php:119
- SSViewer_Scope->obj(getEventiPrimoPiano,,1,,)
SSViewer.php:612
- SSViewer_DataPresenter->obj(getEventiPrimoPiano,,1)
.cache.themes.play.templates.Layout.HighlightPage.ss:16
- include(/var/www/html/play/play2021/public_html/silverstripe-cache/play/.cache.themes.play.templates.Layout.HighlightPage.ss)
SSViewer.php:1157
- SSViewer->includeGeneratedTemplate(/var/www/html/play/play2021/public_html/silverstripe-cache/play/.cache.themes.play.templates.Layout.HighlightPage.ss,HighlightPage_Controller,,Array,)
SSViewer.php:1219
- SSViewer->process(HighlightPage_Controller,)
SSViewer.php:1215
- SSViewer->process(HighlightPage_Controller)
Controller.php:211
- Controller->handleAction(SS_HTTPRequest,index)
RequestHandler.php:200
- RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
Controller.php:158
- Controller->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:174
- ContentController->handleRequest(SS_HTTPRequest,DataModel)
MultilingualPage.php:246
- MultilingualPage_Controller->handleRequest(SS_HTTPRequest,DataModel)
GeneralPage.php:695
- GeneralPage_Controller->handleRequest(SS_HTTPRequest,DataModel)
GeneralPage.php:681
- 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(/2021/highlights/,DataModel)
main.php:188