Exemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     $this->session = Factory::make("session");
     $this->CateModel = Model::make("Category");
     $this->PostModel = Model::make("Post");
 }
Exemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     $this->assign("category", SlideBar::getCategoryAll());
     $this->assign("tags", SlideBar::getTags());
     $this->assign("site", $this->getSiteInfo());
 }
Exemplo n.º 3
0
 public function __Construct()
 {
     parent::__Construct();
 }
Exemplo n.º 4
0
 public function __construct()
 {
     parent::__Construct();
     $this->postModel = Model::make("Post");
     $this->commentModel = Model::make("Comment");
 }
Exemplo n.º 5
0
 public function __construct()
 {
     parent::__Construct();
     $this->msgModel = Model::make("Message");
     $this->siteInfo = $this->getSiteInfo();
 }
Exemplo n.º 6
0
 public function __construct()
 {
     parent::__construct();
     $this->CateModel = Model::make("Category");
 }