Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
Author Class Reference
Inheritance diagram for Author:
PKPAuthor PKPAuthor DataObject DataObject

Public Member Functions

 Author ()
 
 getArticleId ()
 
 getCompetingInterests ($locale)
 
 getLocalizedCompetingInterests ()
 
 setArticleId ($articleId)
 
 setCompetingInterests ($competingInterests, $locale)
 
- Public Member Functions inherited from PKPAuthor
 getAffiliation ($locale)
 
 getAuthorId ()
 
 getBiography ($locale)
 
 getCountry ()
 
 getCountryLocalized ()
 
 getEmail ()
 
 getFirstName ()
 
 getFullName ($lastFirst=false)
 
 getInitials ()
 
 getLastName ()
 
 getLocalizedAffiliation ()
 
 getLocalizedBiography ()
 
 getMiddleName ()
 
 getPrimaryContact ()
 
 getSalutation ()
 
 getSequence ()
 
 getSubmissionId ()
 
 getSuffix ()
 
 getUrl ()
 
 getUserGroupId ()
 
 PKPAuthor ()
 
 setAffiliation ($affiliation, $locale)
 
 setAuthorId ($authorId)
 
 setBiography ($biography, $locale)
 
 setCountry ($country)
 
 setEmail ($email)
 
 setFirstName ($firstName)
 
 setInitials ($initials)
 
 setLastName ($lastName)
 
 setMiddleName ($middleName)
 
 setPrimaryContact ($primaryContact)
 
 setSalutation ($salutation)
 
 setSequence ($sequence)
 
 setSubmissionId ($submissionId)
 
 setSuffix ($suffix)
 
 setUrl ($url)
 
 setUserGroupId ($userGroupId)
 
- Public Member Functions inherited from DataObject
 addSupportedMetadataAdapter (&$metadataAdapter)
 
 DataObject ($callHooks=true)
 
extractMetadata (&$metadataSchema)
 
 getAdditionalMetadataFieldNames ()
 
getAllData ()
 
getData ($key, $locale=null)
 
 getHasLoadableAdapters ()
 
 getId ()
 
 getLocaleMetadataFieldNames ()
 
getLocalizedData ($key)
 
 getMetadataFieldNames ($translated=true)
 
 getSetMetadataFieldNames ($translated=true)
 
getSupportedExtractionAdapters ()
 
getSupportedInjectionAdapters ()
 
getSupportedMetadataSchemas ()
 
 hasData ($key, $locale=null)
 
 injectMetadata (&$metadataDescription)
 
 removeSupportedMetadataAdapter ($metadataSchemaName)
 
 setAllData (&$data)
 
 setData ($key, $value, $locale=null)
 
 setHasLoadableAdapters ($hasLoadableAdapters)
 
 setId ($id)
 
upcastTo (&$targetObject)
 

Additional Inherited Members

- Public Attributes inherited from DataObject
 $_data = array()
 

Detailed Description

Article author metadata class.

a mock author.

See Also
AuthorDAO

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

Member Function Documentation

Author::Author ( )

Constructor.

Definition at line 24 of file Author.inc.php.

Author::getArticleId ( )

Get ID of article.

Returns
int

Definition at line 36 of file Author.inc.php.

References PKPAuthor\getSubmissionId(), and Config\getVar().

Author::getCompetingInterests (   $locale)

Get author competing interests.

Parameters
$localestring
Returns
string

Definition at line 67 of file Author.inc.php.

References DataObject\getData().

Author::getLocalizedCompetingInterests ( )

Get the localized competing interests statement for this author

Definition at line 53 of file Author.inc.php.

References DataObject\getLocalizedData().

Author::setArticleId (   $articleId)

Set ID of article.

Parameters
$articleIdint

Definition at line 45 of file Author.inc.php.

References Config\getVar(), and PKPAuthor\setSubmissionId().

Author::setCompetingInterests (   $competingInterests,
  $locale 
)

Set author competing interests.

Parameters
$competingInterestsstring
$localestring

Definition at line 76 of file Author.inc.php.

References DataObject\setData().


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