public function indexAction() { $this->view->entries = Slider::find(); $this->view->title = 'Список слайдеров'; }