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'); }
public function __construct() { parent::__construct(); $this->id = intval(doSafe($_GET['id'])); $this->tag = new TagModel(); }
public function __construct() { parent::__construct(); $this->user = new UserModel(); $this->id = intval($_GET['id']); }
public function __construct() { parent::__construct(); $this->id = intval($_GET['id']); $this->link = new LinkModel(); }
public function __construct() { parent::__construct(); $this->comment = new CommentModel(); }