PHP Class AuthorDAO, ojs

Inheritance: extends PKPAuthorDAO
Afficher le fichier Open project: pkp/ojs Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Constructor
public __construct ( )

getAuthorsAlphabetizedByJournal() public méthode

..) 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
Résultat DAOResultFactory Authors ordered by sequence

getPublishedArticlesForAuthor() public méthode

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 méthode

Get a new data object
public newDataObject ( ) : DataObject
Résultat DataObject