Exemple #1
0
 public function __construct()
 {
     $doc = DBSimple::get(IndexPageModel::TableName, '');
     $doc = new IndexPageModel($doc);
     $this->sitemapInfo = $doc->getSiteMapData();
     $this->title = self::title;
     $this->begin = array(self::title => '#');
     $this->parent = intval($this->sitemapInfo['id']);
     $this->paging_size = self::pagingSize;
     parent::__construct();
 }
Exemple #2
0
 protected function seekIndexDocument()
 {
     $found = DBSimple::get(SITEMAP_TABLE, ['document_name' => $this->modelName]);
     return $found;
 }