Свойство | Type | Description | |
---|---|---|---|
$em |
Méthode | Description | |
---|---|---|
__construct ( |
||
addArticle ( $playlist, |
Add new related article to related articles container. | |
buildNewThemePlaylists ( $themePlaylists ) | ||
checkIfThemePlaylistsAreUpToDate ( Theme $theme, array $themePlaylists ) : boolean | Check if playlists have current theme lists definitions. | |
clearPlaylistTemplates ( |
Clear cache for all temlates assigned to playlist. | |
getPlaylistArticles ( |
Get articles for playlist. | |
loadThemePlaylists ( string $path ) : array | Load articlesLists from xml file. | |
removeLeftItems ( |
Remove items above the limit on playlist. | |
removePlaylistArticle ( |
Remove article from playlist. | |
removeThemeFromPlaylists ( Theme $theme, array $themePlaylists ) : boolean | Clear playlists themes definitions on unassign action. | |
updateThemePlaylists ( Theme $theme, array $themePlaylists ) : boolean | Update playists with current theme playlists definitions. |
public __construct ( |
||
$em |
public addArticle ( $playlist, |
||
$articleToAdd | ||
$position | integer | |
Résultat | boolean |
public checkIfThemePlaylistsAreUpToDate ( Theme $theme, array $themePlaylists ) : boolean | ||
$theme | Theme | |
$themePlaylists | array | |
Résultat | boolean |
public clearPlaylistTemplates ( |
||
$playlist |
public getPlaylistArticles ( |
||
$playlist |
public loadThemePlaylists ( string $path ) : array | ||
$path | string | |
Résultat | array | content of xml file as an array |
public removeLeftItems ( |
||
$playlist |
public removePlaylistArticle ( |
||
$playlist | ||
$articleToRemove | ||
Résultat | boolean |
public removeThemeFromPlaylists ( Theme $theme, array $themePlaylists ) : boolean | ||
$theme | Theme | |
$themePlaylists | array | |
Résultat | boolean |
public updateThemePlaylists ( Theme $theme, array $themePlaylists ) : boolean | ||
$theme | Theme | |
$themePlaylists | array | |
Résultat | boolean |