PHP Class Newscoop\Entity\Repository\PlaylistArticleRepository

Inheritance: extends Gedmo\Sortable\Entity\Repository\SortableRepository
显示文件 Open project: sourcefabric/newscoop

Public Methods

Method Description
deleteArticle ( integer $articleId, $languageId ) Delete article from playlists.
getPlaylistArticle ( $playlist, $article )
onPlaylistDelete ( Playlist $playlist ) Delete playlist.

Method Details

deleteArticle() public method

Delete article from playlists.
public deleteArticle ( integer $articleId, $languageId )
$articleId integer

getPlaylistArticle() public method

public getPlaylistArticle ( $playlist, $article )

onPlaylistDelete() public method

Delete playlist.
public onPlaylistDelete ( Playlist $playlist )
$playlist Newscoop\Entity\Playlist