示例#1
0
 public function getQueryObject()
 {
     return parent::getQueryObject();
 }
示例#2
0
 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);
     }
 }