PHP 클래스 Newscoop\Entity\Repository\FeedbackRepository

상속: extends Newscoop\Datatable\Source
파일 보기 프로젝트 열기: sourcefabric/newscoop

공개 메소드들

메소드 설명
countByUser ( User $user ) : integer Get feedbacks count for user
flush ( ) Flush method
getByUser ( $p_user_id )
getData ( array $params, array $cols ) : Comment[] Get data for table
getPrototype ( ) : Feedback Get new instance of the comment
save ( Feedback $entity, array $values ) : Feedback Method for saving a feedback
setStatus ( array $feedbacks, string $status ) : void Method for setting status

보호된 메소드들

메소드 설명
buildFilter ( array $cols, array $filter, $qb, $andx ) : Doctrine\ORM\Query\Expr Build filter condition
buildWhere ( array $cols, string $search, $qb = null, $andx = null ) : Doctrine\ORM\Query\Expr Build where condition

비공개 메소드들

메소드 설명
setFeedbackStatus ( Feedback $feedback, string $status ) : void Method for setting status for a feedback message

메소드 상세

buildFilter() 보호된 메소드

Build filter condition
protected buildFilter ( array $cols, array $filter, $qb, $andx ) : Doctrine\ORM\Query\Expr
$cols array
$filter array
$qb
$andx
리턴 Doctrine\ORM\Query\Expr

buildWhere() 보호된 메소드

Build where condition
protected buildWhere ( array $cols, string $search, $qb = null, $andx = null ) : Doctrine\ORM\Query\Expr
$cols array
$search string
리턴 Doctrine\ORM\Query\Expr

countByUser() 공개 메소드

Get feedbacks count for user
public countByUser ( User $user ) : integer
$user Newscoop\Entity\User
리턴 integer

flush() 공개 메소드

Flush method
public flush ( )

getByUser() 공개 메소드

public getByUser ( $p_user_id )

getData() 공개 메소드

Get data for table
public getData ( array $params, array $cols ) : Comment[]
$params array
$cols array
리턴 Comment[]

getPrototype() 공개 메소드

Get new instance of the comment
public getPrototype ( ) : Feedback
리턴 Newscoop\Entity\Feedback

save() 공개 메소드

Method for saving a feedback
public save ( Feedback $entity, array $values ) : Feedback
$entity Newscoop\Entity\Feedback
$values array
리턴 Newscoop\Entity\Feedback \Newscoop\Entity\Feedback

setStatus() 공개 메소드

Method for setting status
public setStatus ( array $feedbacks, string $status ) : void
$feedbacks array Feedback identifiers
$status string
리턴 void