PHP Class Newscoop\ArticlesBundle\Entity\Repository\EditorialCommentRepository

Inheritance: extends Doctrine\ORM\EntityRepository
显示文件 Open project: sourcefabric/newscoop

Public Methods

Method Description
getAll ( boolean $fetchReplies = true ) : Doctrine\ORM\Query Get all editorial comments
getAllByArticleNumber ( integer $articleNumber, boolean $fetchReplies = true ) : Doctrine\ORM\Query Get all editorial comments for article
getOneByArticleAndCommentId ( integer $articleNumber, integer $languageId, integer $commentId, boolean $fetchReplies = true ) : Doctrine\ORM\Query Get one editorial comment by article and comment id

Method Details

getAll() public method

Get all editorial comments
public getAll ( boolean $fetchReplies = true ) : Doctrine\ORM\Query
$fetchReplies boolean
return Doctrine\ORM\Query

getAllByArticleNumber() public method

Get all editorial comments for article
public getAllByArticleNumber ( integer $articleNumber, boolean $fetchReplies = true ) : Doctrine\ORM\Query
$articleNumber integer
$fetchReplies boolean
return Doctrine\ORM\Query

getOneByArticleAndCommentId() public method

Get one editorial comment by article and comment id
public getOneByArticleAndCommentId ( integer $articleNumber, integer $languageId, integer $commentId, boolean $fetchReplies = true ) : Doctrine\ORM\Query
$articleNumber integer
$languageId integer
$commentId integer
$fetchReplies boolean
return Doctrine\ORM\Query