/** * Populates and returns the list of genres * @return array */ public function getGenres() { if (empty($this->_genres)) { $genres = VideoLibrary::getGenres($this->getGenreType()); foreach ($genres as $genre) { $this->_genres[$genre->label] = $genre->label; } } return $this->_genres; }