public function getBlogs() { $blogs = new Blogs(); $rows = $blogs->getBlogs(); $data['blogs'] = $rows; $this->layout->content = View::make('about.blogs')->with("data", $data); }