|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| filterByAffiliation ($affiliation) | |
| filterByContextIds ($contextIds) | |
| filterByCountry ($country) | |
| filterByName ($givenName, $familyName) | |
| filterByPublicationIds ($publicationIds) | |
| getCount () | |
| getIds () | |
| getQuery () | |
Protected Attributes | |
| $affiliation = '' | |
| $contextIds = [] | |
| $country = '' | |
| $familyName = '' | |
| $givenName = '' | |
| $publicationIds = [] | |
Definition at line 20 of file PKPAuthorQueryBuilder.inc.php.
| PKP\Services\QueryBuilders\PKPAuthorQueryBuilder::filterByAffiliation | ( | $affiliation | ) |
Filter by the specified affiliation code
| $country | string Affiliation |
Definition at line 99 of file PKPAuthorQueryBuilder.inc.php.
References PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\$affiliation.
| PKP\Services\QueryBuilders\PKPAuthorQueryBuilder::filterByContextIds | ( | $contextIds | ) |
Filter by one or more contexts
| array | int | $contextIds |
Definition at line 64 of file PKPAuthorQueryBuilder.inc.php.
References PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\$contextIds.
| PKP\Services\QueryBuilders\PKPAuthorQueryBuilder::filterByCountry | ( | $country | ) |
Filter by the specified country code
| $country | string Country code (2-letter) |
Definition at line 88 of file PKPAuthorQueryBuilder.inc.php.
References PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\$country.
| PKP\Services\QueryBuilders\PKPAuthorQueryBuilder::filterByName | ( | $givenName, | |
| $familyName | |||
| ) |
Filter by the given and family name
| string | $givenName | |
| string | $familyName |
Definition at line 76 of file PKPAuthorQueryBuilder.inc.php.
References PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\$familyName, and PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\$givenName.
| PKP\Services\QueryBuilders\PKPAuthorQueryBuilder::filterByPublicationIds | ( | $publicationIds | ) |
Set publicationIds filter
| array | int | $publicationIds |
Definition at line 110 of file PKPAuthorQueryBuilder.inc.php.
References PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\$publicationIds.
| PKP\Services\QueryBuilders\PKPAuthorQueryBuilder::getCount | ( | ) |
Get a count of the number of rows that match the select conditions configured in this query builder.
Implements PKP\Services\QueryBuilders\Interfaces\EntityQueryBuilderInterface.
Definition at line 118 of file PKPAuthorQueryBuilder.inc.php.
| PKP\Services\QueryBuilders\PKPAuthorQueryBuilder::getIds | ( | ) |
Get a list of ids that match the select conditions configured in this query builder.
Implements PKP\Services\QueryBuilders\Interfaces\EntityQueryBuilderInterface.
Definition at line 129 of file PKPAuthorQueryBuilder.inc.php.
| PKP\Services\QueryBuilders\PKPAuthorQueryBuilder::getQuery | ( | ) |
Get a query builder with the applied select, where and join clauses based on builder's configuration
This returns an instance of Laravel's query builder.
Call the get method on a query builder to return an array of matching rows.
Or use the query builder to retrieve objects from a DAO. This example retrieves the first 20 matching Publications.
Laravel's other query builder methods, such as first and pluck, can also be used.
See: https://laravel.com/docs/5.5/queries
Implements PKP\Services\QueryBuilders\Interfaces\EntityQueryBuilderInterface.
Definition at line 140 of file PKPAuthorQueryBuilder.inc.php.
References PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\$affiliation, PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\$country, PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\$familyName, PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\$givenName, and HookRegistry\call().
|
protected |
get authors with a specified affiliation
Definition at line 56 of file PKPAuthorQueryBuilder.inc.php.
Referenced by PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\filterByAffiliation(), and PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\getQuery().
|
protected |
get authors for one or more contexts
Definition at line 26 of file PKPAuthorQueryBuilder.inc.php.
Referenced by PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\filterByContextIds().
|
protected |
get authors with a specified country code
Definition at line 50 of file PKPAuthorQueryBuilder.inc.php.
Referenced by PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\filterByCountry(), and PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\getQuery().
|
protected |
get authors with a family name
Definition at line 32 of file PKPAuthorQueryBuilder.inc.php.
Referenced by PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\filterByName(), and PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\getQuery().
|
protected |
get authors with a given name
Definition at line 38 of file PKPAuthorQueryBuilder.inc.php.
Referenced by PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\filterByName(), and PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\getQuery().
|
protected |
get authors for one or more publications
Definition at line 44 of file PKPAuthorQueryBuilder.inc.php.
Referenced by PKP\Services\QueryBuilders\PKPAuthorQueryBuilder\filterByPublicationIds().