PHP Class Newscoop\Entity\Repository\AuthorRepository

Inheritance: extends Newscoop\Datatable\Source
Datei anzeigen Open project: sourcefabric/newscoop

Public Methods

Method 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 method

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

searchAuthors() public method

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