Open Journal Systems  3.3.0
PKP\Services\PKPAuthorService Class Reference
Inheritance diagram for PKP\Services\PKPAuthorService:

Public Member Functions

 add ($author, $request)
 
 delete ($author)
 
 edit ($author, $params, $request)
 
 get ($authorId)
 
 getCount ($args=[])
 
 getFullProperties ($author, $args=null)
 
 getIds ($args=[])
 
 getMany ($args=array())
 
 getMax ($args=[])
 
 getProperties ($author, $props, $args=null)
 
 getQueryBuilder ($args=[])
 
 getSummaryProperties ($author, $args=null)
 
 validate ($action, $props, $allowedLocales, $primaryLocale)
 

Detailed Description

Definition at line 27 of file PKPAuthorService.inc.php.

Member Function Documentation

◆ add()

PKP\Services\PKPAuthorService::add (   $author,
  $request 
)

Definition at line 209 of file PKPAuthorService.inc.php.

References HookRegistry\call(), and DAORegistry\getDAO().

◆ delete()

PKP\Services\PKPAuthorService::delete (   $author)

Definition at line 239 of file PKPAuthorService.inc.php.

References HookRegistry\call(), and DAORegistry\getDAO().

◆ edit()

PKP\Services\PKPAuthorService::edit (   $author,
  $params,
  $request 
)

Definition at line 222 of file PKPAuthorService.inc.php.

References HookRegistry\call(), and DAORegistry\getDAO().

◆ get()

PKP\Services\PKPAuthorService::get (   $authorId)

Definition at line 32 of file PKPAuthorService.inc.php.

References DAORegistry\getDAO().

◆ getCount()

PKP\Services\PKPAuthorService::getCount (   $args = [])

◆ getFullProperties()

PKP\Services\PKPAuthorService::getFullProperties (   $author,
  $args = null 
)

◆ getIds()

PKP\Services\PKPAuthorService::getIds (   $args = [])

◆ getMany()

PKP\Services\PKPAuthorService::getMany (   $args = array())

Get a collection of Author objects limited, filtered and sorted by $args

Parameters
array$args{ @option int|array contextIds @option string familyName @option string givenName @option int|array publicationIds }
Returns
Iterator

Definition at line 63 of file PKPAuthorService.inc.php.

References DAORegistry\getDAO(), and PKP\Services\PKPAuthorService\getQueryBuilder().

◆ getMax()

PKP\Services\PKPAuthorService::getMax (   $args = [])

Definition at line 75 of file PKPAuthorService.inc.php.

References PKP\Services\PKPAuthorService\getCount().

◆ getProperties()

PKP\Services\PKPAuthorService::getProperties (   $author,
  $props,
  $args = null 
)

◆ getQueryBuilder()

PKP\Services\PKPAuthorService::getQueryBuilder (   $args = [])

◆ getSummaryProperties()

PKP\Services\PKPAuthorService::getSummaryProperties (   $author,
  $args = null 
)

◆ validate()

PKP\Services\PKPAuthorService::validate (   $action,
  $props,
  $allowedLocales,
  $primaryLocale 
)

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