PHP Class AuthorDAO, ojs

Inheritance: extends PKPAuthorDAO
Datei anzeigen Open project: pkp/ojs Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor
getAuthorsAlphabetizedByJournal ( $journalId = null, $initial = null, $rangeInfo = null, $includeEmail = false ) : DAOResultFactory Retrieve all published authors for a journal in an associative array by the first letter of the last name, for example: $returnedArray['S'] gives array($misterSmithObject, $misterSmytheObject, .
getPublishedArticlesForAuthor ( $journalId, $firstName, $middleName, $lastName, $affiliation, $country ) Retrieve all published submissions associated with authors with the given first name, middle name, last name, affiliation, and country.
newDataObject ( ) : DataObject Get a new data object

Method Details

__construct() public method

Constructor
public __construct ( )

getAuthorsAlphabetizedByJournal() public method

..) Keys will appear in sorted order. Note that if journalId is null, alphabetized authors for all enabled journals are returned.
public getAuthorsAlphabetizedByJournal ( $journalId = null, $initial = null, $rangeInfo = null, $includeEmail = false ) : DAOResultFactory
$journalId int Optional journal ID to restrict results to
$initial An initial the last names must begin with
$rangeInfo Range information
$includeEmail Whether or not to include the email in the select distinct
return DAOResultFactory Authors ordered by sequence

getPublishedArticlesForAuthor() public method

Retrieve all published submissions associated with authors with the given first name, middle name, last name, affiliation, and country.
public getPublishedArticlesForAuthor ( $journalId, $firstName, $middleName, $lastName, $affiliation, $country )
$journalId int (null if no restriction desired)
$firstName string
$middleName string
$lastName string
$affiliation string
$country string

newDataObject() public method

Get a new data object
public newDataObject ( ) : DataObject
return DataObject