PHP Class Wallabag\CoreBundle\Repository\TagRepository

Inheritance: extends Doctrine\ORM\EntityRepository
Afficher le fichier Open project: wallabag/wallabag

Méthodes publiques

Méthode Description
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.

Method Details

countAllTags() public méthode

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

findAllTags() public méthode

Find all tags per user.
public findAllTags ( integer $userId ) : array
$userId integer
Résultat array

findOneByEntryAndTagLabel() public méthode

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