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