/** * Displays a list of the recently added episodes */ public function actionRecentlyAdded() { $episodes = VideoLibrary::getRecentlyAddedEpisodes(); $this->render('recentlyAdded', array('dataProvider' => new LibraryDataProvider($episodes))); }