public function actionIndex() { $view = new View(); $view->title = 'Blog | Editor'; $where = "author_id=" . 1; $view->items = ModelArticle::getColumn(['id', 'title'], $where); $view->displayPage('articles/editor'); }