/** * Returns the typeahead data for the director field */ public function actionGetDirectorNames() { $this->renderJson(json_encode(VideoLibrary::getDirectors())); }