PHP Класс AuthorDAO, ojs

Наследование: extends PKPAuthorDAO
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

Constructor
public __construct ( )

getAuthorsAlphabetizedByJournal() публичный Метод

..) 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
Результат DAOResultFactory Authors ordered by sequence

getPublishedArticlesForAuthor() публичный Метод

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() публичный Метод

Get a new data object
public newDataObject ( ) : DataObject
Результат DataObject