getParam('collection', null); $searchFiles = $this->getParam('searchFiles', null); $searchDocuments = $this->getParam('searchDocuments', null); $name = $collection->getAttribute('name', ''); $db = $this->getParam('db', null); $rules = $collection->getAttribute('rules', []); $namespace = 'project-document'; $collections = []; ?> render(); ?> getId()) { continue; // Do not allow rec recrusion } if(!isset($collections[$item])) { Authorization::disable(); //TODO Try and avoid calling the DB from the template $collections[$item] = $db->getDocument($item, false); Authorization::reset(); } $childCollection = $collections[$item]; if(!$childCollection->getId() || $childCollection->getCollection() !== Database::SYSTEM_COLLECTION_COLLECTIONS) { continue; } $searchDocuments ->setParam('collection', $childCollection) ; echo $searchDocuments->render(); ?>
getId()) { continue; // Do not allow rec recrusion } if(!isset($collections[$item])) { Authorization::disable(); //TODO Try and avoid calling the DB from the template $collections[$item] = $db->getDocument($item, false); Authorization::reset(); } $childCollection = $collections[$item]; if(!$childCollection->getId() || $childCollection->getCollection() !== Database::SYSTEM_COLLECTION_COLLECTIONS) { continue; } ?>

escape($name); ?>