getId(); break; case 'seq': case 'sequence': $values[$prop] = (int) $author->getSequence(); break; case 'firstName': $values[$prop] = $author->getFirstName(); break; case 'middleName': $values[$prop] = $author->getMiddleName(); break; case 'lastName': $values[$prop] = $author->getLastName(); break; case 'suffix': $values[$prop] = $author->getSuffix(); break; case 'fullName': $values[$prop] = $author->getFullName(); break; case 'country': $values[$prop] = $author->getCountry(); break; case 'email': $values[$prop] = $author->getEmail(); break; case 'url': $values[$prop] = $author->getUrl(); break; case 'userGroupId': $values[$prop] = $author->getUserGroupId(); break; case 'isBrowseable': $values[$prop] = (bool) $author->getIncludeInBrowse(); break; case 'isPrimaryContact': $values[$prop] = (bool) $author->getPrimaryContact(); break; case 'biography': $values[$prop] = $author->getBiography(null); break; case 'affiliation': $values[$prop] = $author->getAffiliation(null); break; case 'orcid': $values[$prop] = $author->getOrcid(null); break; } \HookRegistry::call('Author::getProperties::values', array(&$values, $author, $props, $args)); } return $values; } /** * @copydoc \PKP\Services\EntityProperties\EntityPropertyInterface::getSummaryProperties() */ public function getSummaryProperties($author, $args = null) { $props = array ( 'id','seq','fullName','orcid', ); \HookRegistry::call('Author::getProperties::summaryProperties', array(&$props, $author, $args)); return $this->getProperties($author, $props, $args); } /** * @copydoc \PKP\Services\EntityProperties\EntityPropertyInterface::getFullProperties() */ public function getFullProperties($author, $args = null) { $props = array ( 'id','seq','firstName','middleName','lastName','suffix','fullName','country','email','url','userGroupId', 'isBrowseable','isPrimaryContact','affiliation','biography','orcid', ); \HookRegistry::call('Author::getProperties::fullProperties', array(&$props, $author, $args)); return $this->getProperties($author, $props, $args); } }