Ejemplo n.º 1
0
 public function init()
 {
     parent::init();
     $this->applyTemplateController('Controller\\programs\\Template');
     $this->categories = Categories::getInstance();
     $this->programs = new \Model\programs\Programs($this->categories, new \Model\articles\Artciles(new \Model\articles\Categories()));
 }
Ejemplo n.º 2
0
 public function init()
 {
     parent::init();
     $this->applyTemplateController('Controller\\programs\\Template');
     $this->categories = \Model\programs\Categories::getInstance();
     $this->programs = Programs::getInstance();
 }
Ejemplo n.º 3
0
 public function init()
 {
     parent::init();
     \OWeb\manage\Extensions::getInstance()->getExtension('bbcode\\JBBCode');
     $this->applyTemplateController('Controller\\programs\\Template');
     $this->categories = \Model\programs\Categories::getInstance();
     $this->programs = Programs::getInstance();
 }