PHP Class Newscoop\Entity\Repository\SectionRepository

Inheritance: extends Doctrine\ORM\EntityRepository
ファイルを表示 Open project: sourcefabric/newscoop

Public Methods

Method Description
findSectionByArticle ( $article )
getAvailableSections ( Publication $publication, Newscoop\Entity\Subscription $subscription, boolean $groupByLanguage = false ) : array Get list of publication sections
getSections ( $publication, $issue = null, $language = null )
getSectionsCountForPublication ( $publicationId )

Method Details

findSectionByArticle() public method

public findSectionByArticle ( $article )

getAvailableSections() public method

Get list of publication sections
public getAvailableSections ( Publication $publication, Newscoop\Entity\Subscription $subscription, boolean $groupByLanguage = false ) : array
$publication Newscoop\Entity\Publication
$subscription Newscoop\Entity\Subscription
$groupByLanguage boolean
return array

getSections() public method

public getSections ( $publication, $issue = null, $language = null )

getSectionsCountForPublication() public method

public getSectionsCountForPublication ( $publicationId )