Source
30 }
31
32 public function ExhibitingArtists() {
33 return $this->owner->getManyManyComponents('ExhibitingArtists')->sort('Title');
34 }
35
36 public function WorksListAsColumns() {
37 $columns = array(array(), array(), array());
38 $i = 0;
39 foreach ($this->WorksList() as $work) {
40 $column_index = $i % 3;
41 $columns[$column_index][] = $work;
42 $i++;
43 }
44
45 $output = new ArrayList();
Trace
- ExpoPage->WorksListAsColumns()
- call_user_func_array(Array,Array)
Object.php:731
- Object->__call(WorksListAsColumns,Array)
ViewableData.php:361
- ExpoPage_Controller->WorksListAsColumns()
ViewableData.php:361
- ViewableData->obj(WorksListAsColumns,,1,,)
SSViewer.php:91
- SSViewer_Scope->getObj(WorksListAsColumns,,1,,)
SSViewer.php:504
- SSViewer_DataPresenter->getObj(WorksListAsColumns,,1,,)
SSViewer.php:111
- SSViewer_Scope->obj(WorksListAsColumns,,1)
.cache.themes.bac.templates.Layout.ExpoPage.ss:7
- include(/home/galeriu/www/silverstripe-cache/galeriu/.cache.themes.bac.templates.Layout.ExpoPage.ss)
SSViewer.php:1031
- SSViewer->includeGeneratedTemplate(/home/galeriu/www/silverstripe-cache/galeriu/.cache.themes.bac.templates.Layout.ExpoPage.ss,ExpoPage_Controller,,Array,)
SSViewer.php:1098
- SSViewer->process(ExpoPage_Controller,)
SSViewer.php:1094
- SSViewer->process(ExpoPage_Controller)
Controller.php:203
- Controller->handleAction(SS_HTTPRequest,index)
RequestHandler.php:200
- RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
Controller.php:153
- Controller->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:198
- ContentController->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:179
- ContentController->handleRequest(SS_HTTPRequest,DataModel)
ModelAsController.php:78
- ModelAsController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:370
- Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:153
- Director::direct(/exhibitions/reciproco-en-ca/,DataModel)
main.php:177