PHP 클래스 Newscoop\Entity\Repository\PlaylistRepository

상속: extends Doctrine\ORM\EntityRepository
파일 보기 프로젝트 열기: sourcefabric/newscoop

공개 메소드들

메소드 설명
articles ( Playlist $playlist, array $languages = [], boolean $fullArticle = false, integer $limit = null, integer $offset = null, boolean $publishedOnly = true, $onlyQuery = false, $orderBy = 'order', $orderDir = 'ASC' ) Returns articles for a given playlist.
articlesCount ( Playlist $playlist, array $languages = [], boolean $publishedOnly = true ) Returns the total count of articles for a given playlist.
delete ( Playlist $playlist ) Delete playlist.
getArticlePlaylists ( integer $articleId, integer $languageId ) : array Gets the list of playlist the given article belongs to.
getPlaylist ( $id )
getPlaylistByTitle ( $title )
getPlaylists ( )
save ( Playlist $playlist = null, array $articles = null ) Save playlist with articles.

메소드 상세

articles() 공개 메소드

Returns articles for a given playlist.
public articles ( Playlist $playlist, array $languages = [], boolean $fullArticle = false, integer $limit = null, integer $offset = null, boolean $publishedOnly = true, $onlyQuery = false, $orderBy = 'order', $orderDir = 'ASC' )
$playlist Newscoop\Entity\Playlist
$languages array
$fullArticle boolean
$limit integer
$offset integer
$publishedOnly boolean

articlesCount() 공개 메소드

Returns the total count of articles for a given playlist.
public articlesCount ( Playlist $playlist, array $languages = [], boolean $publishedOnly = true )
$playlist Newscoop\Entity\Playlist
$languages array
$publishedOnly boolean

delete() 공개 메소드

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

getArticlePlaylists() 공개 메소드

Gets the list of playlist the given article belongs to.
public getArticlePlaylists ( integer $articleId, integer $languageId ) : array
$articleId integer
$languageId integer
리턴 array

getPlaylist() 공개 메소드

public getPlaylist ( $id )

getPlaylistByTitle() 공개 메소드

public getPlaylistByTitle ( $title )

getPlaylists() 공개 메소드

public getPlaylists ( )

save() 공개 메소드

Save playlist with articles.
public save ( Playlist $playlist = null, array $articles = null )
$playlist Newscoop\Entity\Playlist $playlist
$articles array