public function getQueryObject() { return parent::getQueryObject(); }
public function exportPages($xml = null, PageList $pl = null) { if (!$xml) { $this->x = $this->getXMLRoot(); } $node = $this->x->addChild("pages"); if (!$pl) { $pl = new PageList(); } $pl->ignorePermissions(); $pl->getQueryObject()->andWhere("cFilename is null or cFilename = ''"); $pages = $pl->getResults(); foreach ($pages as $pc) { $pc->export($node); } }