PHP Class Sulu\Bundle\TagBundle\Entity\TagRepository

Inheritance: extends Doctrine\ORM\EntityRepository, implements Sulu\Bundle\TagBundle\Tag\TagRepositoryInterface
Mostra file Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
findAllTags ( ) : array Searches for all roles.
findTagById ( $id ) : Tag Finds the tag with the given ID.
findTagByName ( string $name ) : mixed Finds the tag with the given name.

Method Details

findAllTags() public method

Searches for all roles.
public findAllTags ( ) : array
return array

findTagById() public method

Finds the tag with the given ID.
public findTagById ( $id ) : Tag
$id
return Tag

findTagByName() public method

Finds the tag with the given name.
public findTagByName ( string $name ) : mixed
$name string
return mixed