コード例 #1
0
 public function __construct()
 {
     $this->userModel = $this->loadModel('User');
     $this->articleModel = $this->loadModel('Article');
     $this->eventModel = $this->loadModel('Event');
     parent::__construct();
 }
コード例 #2
0
 function __construct()
 {
     $this->articleModel = $this->loadModel('Article');
     $this->userModel = $this->loadModel('User');
     $this->articleCommentModel = $this->loadModel('CommentsArticle');
     parent::__construct();
 }
コード例 #3
0
 function __construct()
 {
     $this->modelEvent = new EventModel();
     $this->userModel = new UserModel();
     $this->articleModel = new ArticleModel();
     $this->modelConnect = new LittleModel();
     parent::__construct();
 }
コード例 #4
0
 function __construct()
 {
     $this->eventModel = $this->loadModel('Event');
     $this->userModel = $this->loadModel('User');
     $this->participateModel = $this->loadModel('Participate');
     $this->eventCommentModel = $this->loadModel('CommentsEvent');
     parent::__construct();
 }
コード例 #5
0
 function __construct()
 {
     parent::__construct();
     $this->conversationModel = $this->loadModel('Conversation');
 }
コード例 #6
0
 public function __construct()
 {
     $this->userModel = $this->loadModel('User');
     parent::__construct();
 }