/** * Returns the structure for the current safinstance. * URL example : http://sydney.localhost.prv/adminpages/services/getstructure/format/json * * @return void */ public function getstructureAction() { include_once 'PagstructureOp.php'; $safinstancesId = $this->_config->db->safinstances_id; $parentId = 0; $pags = new Pagstructure(); $this->view->ResultSet = $pags->toArray4JSON($safinstancesId, $parentId); }