PHP Class Newscoop\Entity\Repository\AuthorRepository

Inheritance: extends Newscoop\Datatable\Source
Afficher le fichier Open project: sourcefabric/newscoop

Méthodes publiques

Méthode Description
getAuthor ( integer $id ) : Doctrine\ORM\Query Get Author by Id
searchAuthors ( string $query, array $sort = [] ) : Doctrine\ORM\Query Perform a query

Method Details

getAuthor() public méthode

Get Author by Id
public getAuthor ( integer $id ) : Doctrine\ORM\Query
$id integer
Résultat Doctrine\ORM\Query

searchAuthors() public méthode

Perform a query
public searchAuthors ( string $query, array $sort = [] ) : Doctrine\ORM\Query
$query string
$sort array
Résultat Doctrine\ORM\Query