getThemes() public method

Provides the themes attached to playlist.
public getThemes ( ) : string
return string
コード例 #1
0
 /**
  * Clear cache for all temlates assigned to playlist.
  *
  * @param Playlist $playlist
  */
 public function clearPlaylistTemplates($playlist)
 {
     foreach ($playlist->getThemes() as $theme) {
         if (is_array($theme)) {
             foreach ($theme as $file) {
                 \TemplateCacheHandler_DB::clean($file);
             }
         }
     }
 }