public function addToListAction(Movies $movie, $page = 0) { $this->view->movie = $movie; $this->view->page = $this->getPaginator(Lists::find(), 25, $page); $this->view->listForm = myForm::buildListForm($movie); $this->view->relatedLists = $movie->getRelatedLists(); $this->view->lists = $movie->getNotRelatedLists($this->view->relatedLists); }