Exemplo n.º 1
0
 /**
  * Get all content pages.
  *
  * @return array
  */
 public function getSites()
 {
     $pageTree = new MediaBrowserPageTree($this->cx->getDb()->getEntityManager(), $this->cx->getLicense(), 0, null, FRONTEND_LANG_ID, null, false, false, false);
     $pageTree->render();
     return $pageTree->getFlatTree();
 }