Ojs\ApiBundle\Handler\JournalArticleCitationHandler::all PHP Метод

all() публичный Метод

Get a list of Citations.
public all ( integer $limit = 5, integer $offset ) : array
$limit integer the limit of the result
$offset integer starting from the offset
Результат array
    public function all($limit = 5, $offset = 0)
    {
        return $this->repository->createQueryBuilder('c')->join('c.articles', 'a')->where('a.id = :articleId')->setParameter('articleId', $this->getArticle()->getId())->setFirstResult($offset)->setMaxResults($limit)->getQuery()->getResult();
    }