Source
32 11 => 'Environment',
33 12 => 'F & N-F Materials',
34 13 => 'BIR',
35 14 => 'General',
36 15 => 'Legislation',
37 17 => 'Warning',
38 );
39
40 public function GetArtCat(){
41 $output = self::$categories[$this->ArticleCategory];
42 return $output;
43 }
44
45 function getCMSFields() {
46 $fields = parent::getCMSFields();
47
Trace
- ArticlePage->GetArtCat()
ViewableData.php:466
- ViewableData->obj(GetArtCat,,,1)
ViewableData.php:539
- ViewableData->XML_val(GetArtCat,,1)
SSViewer.php:187
- SSViewer_Scope->__call(XML_val,Array)
SSViewer.php:650
- SSViewer_DataPresenter->__call(XML_val,Array)
.cache.themes.bir.templates.Layout.NewsArchive.ss:49
- include(/tmp/silverstripe-cache-php7.0.33-65+ubuntu18.04.1+deb.sury.org+1-var-www-archive.bir.org-html/www-data/.cache.themes.bir.templates.Layout.NewsArchive.ss)
SSViewer.php:1164
- SSViewer->includeGeneratedTemplate(/tmp/silverstripe-cache-php7.0.33-65+ubuntu18.04.1+deb.sury.org+1-var-www-archive.bir.org-html/www-data/.cache.themes.bir.templates.Layout.NewsArchive.ss,NewsArchive_Controller,,Array,)
SSViewer.php:1226
- SSViewer->process(NewsArchive_Controller,)
SSViewer.php:1222
- SSViewer->process(NewsArchive_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)
ContentController.php:154
- ContentController->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(/news-press/news-archive,DataModel)
main.php:208