PHP 클래스 Wallabag\CoreBundle\Repository\TagRepository

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

공개 메소드들

메소드 설명
countAllTags ( integer $userId, integer $cacheLifeTime = null ) : integer Count all tags per user.
findAllTags ( integer $userId ) : array Find all tags per user.
findOneByEntryAndTagLabel ( $entry, $label ) : Tag Used only in test case to get a tag for our entry.

메소드 상세

countAllTags() 공개 메소드

Count all tags per user.
public countAllTags ( integer $userId, integer $cacheLifeTime = null ) : integer
$userId integer
$cacheLifeTime integer Duration of the cache for this query
리턴 integer

findAllTags() 공개 메소드

Find all tags per user.
public findAllTags ( integer $userId ) : array
$userId integer
리턴 array

findOneByEntryAndTagLabel() 공개 메소드

Used only in test case to get a tag for our entry.
public findOneByEntryAndTagLabel ( $entry, $label ) : Tag
리턴 Tag