PHP 클래스 AuthorDAO, ojs

상속: extends PKPAuthorDAO
파일 보기 프로젝트 열기: pkp/ojs 1 사용 예제들

공개 메소드들

메소드 설명
__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