Source of file ItemListPageController.php
Size: 0,619 Bytes - Last Modified: 2021-12-23T10:49:40+00:00
/var/www/docs.ssmods.com/process/src/src/Page/ItemListPageController.php
12345678910111213141516171819202122232425 | <?php namespace Symbiote\FrontendObjects\Page; use PageController; class ItemListPageController extends PageController { private static $allowed_actions = array('showlist'); public function showlist() { $list = $this->data()->ItemList(); if ($list->ID) { $template = null; if ($this->data()->TemplateID) { $template = $this->data()->Template()->getTemplateFile(); } $list->setContextLink($this->Link('showlist')); $listContent = $list->forTemplate($template); return $listContent; } } } |