PHP 클래스 Knp\Bundle\KnpBundlesBundle\Repository\ActivityRepository

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

공개 메소드들

메소드 설명
countActivitiesByBundle ( Bundle $bundle ) : integer
deleteIds ( array $ids )
findAllSimilar ( Activity $activity ) : array
findAllSortedBy ( $sortBy, integer $limit = 10 ) : array
findLastActivitiesForBundle ( Bundle $bundle, integer $limit = 10 ) : array
findLastCommitsForBundle ( Bundle $bundle, integer $limit = 10 ) : array
queryLastActivities ( string $type, integer $bundleId, integer $developerId, string $sortBy = 'createdAt' ) : Doctrine\ORM\Query
removeActivities ( Bundle $bundle, array $leftActivities ) : void

메소드 상세

countActivitiesByBundle() 공개 메소드

public countActivitiesByBundle ( Bundle $bundle ) : integer
$bundle Knp\Bundle\KnpBundlesBundle\Entity\Bundle
리턴 integer

deleteIds() 공개 메소드

public deleteIds ( array $ids )
$ids array

findAllSimilar() 공개 메소드

public findAllSimilar ( Activity $activity ) : array
$activity Knp\Bundle\KnpBundlesBundle\Entity\Activity
리턴 array

findAllSortedBy() 공개 메소드

public findAllSortedBy ( $sortBy, integer $limit = 10 ) : array
$limit integer
리턴 array

findLastActivitiesForBundle() 공개 메소드

public findLastActivitiesForBundle ( Bundle $bundle, integer $limit = 10 ) : array
$bundle Knp\Bundle\KnpBundlesBundle\Entity\Bundle
$limit integer
리턴 array

findLastCommitsForBundle() 공개 메소드

public findLastCommitsForBundle ( Bundle $bundle, integer $limit = 10 ) : array
$bundle Knp\Bundle\KnpBundlesBundle\Entity\Bundle
$limit integer
리턴 array

queryLastActivities() 공개 메소드

public queryLastActivities ( string $type, integer $bundleId, integer $developerId, string $sortBy = 'createdAt' ) : Doctrine\ORM\Query
$type string
$bundleId integer
$developerId integer
$sortBy string
리턴 Doctrine\ORM\Query

removeActivities() 공개 메소드

public removeActivities ( Bundle $bundle, array $leftActivities ) : void
$bundle Knp\Bundle\KnpBundlesBundle\Entity\Bundle
$leftActivities array
리턴 void