예제 #1
0
파일: Tag.php 프로젝트: annasoal/newsite
 public function __construct()
 {
     parent::__construct();
     $this->tag = MTag::app();
     $this->template = 'tag/v_tags.php';
     $this->check_access('edit_posts');
 }
예제 #2
0
파일: Post.php 프로젝트: annasoal/newsite
 public function __construct()
 {
     parent::__construct();
     $this->left = View::template('v_left.php');
     $this->post = MPost::app();
     $this->image = MImage::app();
     $this->tag = MTag::app();
     $this->comment = MComment::app();
 }
예제 #3
0
파일: Post.php 프로젝트: annasoal/newsite
 public function __construct()
 {
     parent::__construct();
     $this->post = MPost::app();
     //$this->left = View::template('post/v_left.php');
     $this->image = Image::app();
     $this->tag = Tag::app();
     $this->check_access('edit_posts');
 }