PHP 클래스 Newscoop\Entity\Repository\IssueRepository

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

공개 메소드들

메소드 설명
getByPublicationAndNumberAndLanguage ( $publication, $number = null, $language = null )
getIssue ( $languageCode, $publication, $shortName = null )
getIssuesCountForPublication ( $publicationId )
getLastPublishedByPublication ( $publicationId )
getLatestByPublication ( $publicationId, boolean | integer $maxResults = 1, boolean $leftJoins = true ) : Issue | null Retrieve the latest issue. Optional an array for filtering can be specified. Think of parameters: Publication, Languages, published or not, etc.

메소드 상세

getByPublicationAndNumberAndLanguage() 공개 메소드

public getByPublicationAndNumberAndLanguage ( $publication, $number = null, $language = null )

getIssue() 공개 메소드

public getIssue ( $languageCode, $publication, $shortName = null )

getIssuesCountForPublication() 공개 메소드

public getIssuesCountForPublication ( $publicationId )

getLastPublishedByPublication() 공개 메소드

public getLastPublishedByPublication ( $publicationId )

getLatestByPublication() 공개 메소드

Retrieve the latest issue. Optional an array for filtering can be specified. Think of parameters: Publication, Languages, published or not, etc.
public getLatestByPublication ( $publicationId, boolean | integer $maxResults = 1, boolean $leftJoins = true ) : Issue | null
$maxResults boolean | integer Max results to show
$leftJoins boolean Adds left joins to the query to get section and language
리턴 Newscoop\Entity\Issue | null