public function __construct()
 {
     parent::__construct();
     $this->twitterModel = new \blogg\model\twitter\Twitter($this->settings->getTwitterSettings());
     $this->setView(new \blogg\view\twitter\TwitterView());
     $this->numberOfTweets = $this->settings->getTwitterSettings()->twitterNumberOfPosts;
 }
Esempio n. 2
0
 public function __construct()
 {
     parent::__construct();
     $this->twitterModel = new \blogg\model\twitter\Twitter($this->settings->getTwitterSettings());
     $this->instagramModel = new \blogg\model\instagram\InstagramModel($this->settings->getInstagramSettings());
     $this->bloggModel = new \blogg\model\blogg\BloggModel();
     $this->setView(new \home\view\home\HomeView());
 }