Пример #1
0
 public function __construct()
 {
     parent::__construct();
     $this->assign("category", SlideBar::getCategoryAll());
     $this->assign("tags", SlideBar::getTags());
     $this->assign("site", $this->getSiteInfo());
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct();
     $this->session = Factory::make("session");
     $this->CateModel = Model::make("Category");
     $this->PostModel = Model::make("Post");
 }
Пример #3
0
 public function __construct()
 {
     parent::__construct();
     $this->CateModel = Model::make("Category");
 }