public function __construct() { $this->userModel = $this->loadModel('User'); $this->articleModel = $this->loadModel('Article'); $this->eventModel = $this->loadModel('Event'); parent::__construct(); }
function __construct() { $this->articleModel = $this->loadModel('Article'); $this->userModel = $this->loadModel('User'); $this->articleCommentModel = $this->loadModel('CommentsArticle'); parent::__construct(); }
function __construct() { $this->modelEvent = new EventModel(); $this->userModel = new UserModel(); $this->articleModel = new ArticleModel(); $this->modelConnect = new LittleModel(); parent::__construct(); }
function __construct() { $this->eventModel = $this->loadModel('Event'); $this->userModel = $this->loadModel('User'); $this->participateModel = $this->loadModel('Participate'); $this->eventCommentModel = $this->loadModel('CommentsEvent'); parent::__construct(); }
function __construct() { parent::__construct(); $this->conversationModel = $this->loadModel('Conversation'); }
public function __construct() { $this->userModel = $this->loadModel('User'); parent::__construct(); }