public function calendarWN($url, $view) { $data = new DataController($url); $db = Atomik::get('db'); $this->title = $data->fetchTitle('a', 19); $this->date = $data->fetchDate(); $this->link = $data->fetchLink(); $this->viewOutput = Atomik::render($view, array('title' => $this->title, 'date' => $this->date, 'link' => $this->link, 'count' => $this->count)); echo $this->viewOutput; }