/** * */ public function indexAction() { $this->setSubtitle('Adminfiles'); $this->setSideBar('index', 'default'); $this->layout->langswitch = true; $this->layout->search = true; $flo = new Filfolders(); $this->view->list = $flo->getMultiArrayRelations(0, $this->safinstancesId); }
/** * List of the folders (tags) in an structured array (arborescence) * @return void */ public function folderslistAction() { $r = $this->getRequest(); $pid = 0; // id of the root we want to display the kids or none for all if (isset($r->parentid)) { $pid = $r->parentid; } $flo = new Filfolders(); $this->view->list = $flo->getMultiArrayRelations($pid, $this->safinstancesId); }