Example #1
0
 public function __construct()
 {
     parent::__construct();
     $this->id = intval(doSafe($_GET['id']));
     $this->article = new ArticleModel();
     $this->articleTag = new ArticleTagModel();
     $this->file = new Upload('title-img', 'title');
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
     $this->id = intval(doSafe($_GET['id']));
     $this->tag = new TagModel();
 }
Example #3
0
 public function __construct()
 {
     parent::__construct();
     $this->user = new UserModel();
     $this->id = intval($_GET['id']);
 }
Example #4
0
 public function __construct()
 {
     parent::__construct();
     $this->id = intval($_GET['id']);
     $this->link = new LinkModel();
 }
Example #5
0
 public function __construct()
 {
     parent::__construct();
     $this->comment = new CommentModel();
 }