Open Journal Systems  3.3.0
APP\Services\QueryBuilders\GalleyQueryBuilder Class Reference
Inheritance diagram for APP\Services\QueryBuilders\GalleyQueryBuilder:
PKP\Services\QueryBuilders\Interfaces\EntityQueryBuilderInterface

Public Member Functions

 filterByPublicationIds ($publicationIds)
 
 getCount ()
 
 getIds ()
 
 getQuery ()
 

Data Fields

 $columns
 

Protected Attributes

 $publicationIds = []
 

Detailed Description

Definition at line 20 of file GalleyQueryBuilder.inc.php.

Member Function Documentation

◆ filterByPublicationIds()

APP\Services\QueryBuilders\GalleyQueryBuilder::filterByPublicationIds (   $publicationIds)

Set publicationIds filter

Parameters
array | int$publicationIds
Returns
\APP\Services\QueryBuilders\GalleyQueryBuilder

Definition at line 39 of file GalleyQueryBuilder.inc.php.

References APP\Services\QueryBuilders\GalleyQueryBuilder\$publicationIds.

◆ getCount()

APP\Services\QueryBuilders\GalleyQueryBuilder::getCount ( )

Get a count of the number of rows that match the select conditions configured in this query builder.

Returns
int

Implements PKP\Services\QueryBuilders\Interfaces\EntityQueryBuilderInterface.

Definition at line 47 of file GalleyQueryBuilder.inc.php.

◆ getIds()

APP\Services\QueryBuilders\GalleyQueryBuilder::getIds ( )

Get a count of the number of rows that match the select conditions configured in this query builder.

Returns
int

Implements PKP\Services\QueryBuilders\Interfaces\EntityQueryBuilderInterface.

Definition at line 58 of file GalleyQueryBuilder.inc.php.

◆ getQuery()

APP\Services\QueryBuilders\GalleyQueryBuilder::getQuery ( )

Get a count of the number of rows that match the select conditions configured in this query builder.

Returns
int

Implements PKP\Services\QueryBuilders\Interfaces\EntityQueryBuilderInterface.

Definition at line 69 of file GalleyQueryBuilder.inc.php.

References HookRegistry\call().

Field Documentation

◆ $columns

array GalleyQueryBuilder::$columns

List of columns (see getQuery)

Definition at line 25 of file GalleyQueryBuilder.inc.php.

◆ $publicationIds

array GalleyQueryBuilder::$publicationIds = []
protected

get authors for one or more publications

Definition at line 31 of file GalleyQueryBuilder.inc.php.

Referenced by APP\Services\QueryBuilders\GalleyQueryBuilder\filterByPublicationIds().


The documentation for this class was generated from the following file: