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