PHP 클래스 Article, ojs

User: Admin Date: 21.02.2015 Time: 13:26
파일 보기 프로젝트 열기: pkp/ojs 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) Constructor.
_getContextLicenseFieldValue ( $locale, $field ) : string | null Get the value of a license field from the containing context.
getBestArticleId ( ) : string Return the "best" article ID -- If a public article ID is set, use it; otherwise use the internal article Id.
getContextId ( ) : integer Get the context ID.
getCoverImage ( $locale ) : string get cover page server-side file name
getCoverImageAltText ( $locale ) : string get cover page alternate text
getCurrentRound ( ) : integer Get current review round.
getEndingPage ( ) : integer Get ending page of an article.
getFastTracked ( ) : boolean get expedited
getJournalId ( ) : integer Get ID of journal.
getLocalizedCoverImage ( ) : string Get the localized cover page server-side file name
getLocalizedCoverImageAltText ( ) : string Get the localized cover page alternate text
getLocalizedCoverImageUrl ( ) : string Get a full URL to the localized cover image
getSectionAbbrev ( ) : string Get section abbreviation.
getSectionId ( ) : integer Get ID of article's section.
getSectionTitle ( ) : string Get title of article's section.
getStartingPage ( ) : integer Get starting page of an article.
setContextId ( $contextId ) Set the context ID.
setCoverImage ( $coverImage, $locale ) set cover page server-side file name
setCoverImageAltText ( $coverImageAltText, $locale ) set cover page alternate text
setCurrentRound ( $currentRound ) Set current review round.
setFastTracked ( $fastTracked ) set fastTracked
setJournalId ( $journalId ) Set ID of journal.
setSectionAbbrev ( $sectionAbbrev ) Set section abbreviation.
setSectionId ( $sectionId ) Set ID of article's section.
setSectionTitle ( $sectionTitle ) Set title of article's section.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( )

_getContextLicenseFieldValue() 공개 메소드

Get the value of a license field from the containing context.
public _getContextLicenseFieldValue ( $locale, $field ) : string | null
$locale string Locale code
$field PERMISSIONS_FIELD_...
리턴 string | null

getBestArticleId() 공개 메소드

Return the "best" article ID -- If a public article ID is set, use it; otherwise use the internal article Id.
public getBestArticleId ( ) : string
리턴 string

getContextId() 공개 메소드

Get the context ID.
public getContextId ( ) : integer
리턴 integer

getCoverImage() 공개 메소드

get cover page server-side file name
public getCoverImage ( $locale ) : string
$locale string
리턴 string

getCoverImageAltText() 공개 메소드

get cover page alternate text
public getCoverImageAltText ( $locale ) : string
$locale string
리턴 string

getCurrentRound() 공개 메소드

Get current review round.
public getCurrentRound ( ) : integer
리턴 integer

getEndingPage() 공개 메소드

Get ending page of an article.
public getEndingPage ( ) : integer
리턴 integer

getFastTracked() 공개 메소드

get expedited
public getFastTracked ( ) : boolean
리턴 boolean

getJournalId() 공개 메소드

Get ID of journal.
public getJournalId ( ) : integer
리턴 integer

getLocalizedCoverImage() 공개 메소드

Get the localized cover page server-side file name
public getLocalizedCoverImage ( ) : string
리턴 string

getLocalizedCoverImageAltText() 공개 메소드

Get the localized cover page alternate text

getLocalizedCoverImageUrl() 공개 메소드

Get a full URL to the localized cover image

getSectionAbbrev() 공개 메소드

Get section abbreviation.
public getSectionAbbrev ( ) : string
리턴 string

getSectionId() 공개 메소드

Get ID of article's section.
public getSectionId ( ) : integer
리턴 integer

getSectionTitle() 공개 메소드

Get title of article's section.
public getSectionTitle ( ) : string
리턴 string

getStartingPage() 공개 메소드

Get starting page of an article.
public getStartingPage ( ) : integer
리턴 integer

setContextId() 공개 메소드

Set the context ID.
public setContextId ( $contextId )
$contextId int

setCoverImage() 공개 메소드

set cover page server-side file name
public setCoverImage ( $coverImage, $locale )
$coverImage string
$locale string

setCoverImageAltText() 공개 메소드

set cover page alternate text
public setCoverImageAltText ( $coverImageAltText, $locale )
$coverImageAltText string
$locale string

setCurrentRound() 공개 메소드

Set current review round.
public setCurrentRound ( $currentRound )
$currentRound int

setFastTracked() 공개 메소드

set fastTracked
public setFastTracked ( $fastTracked )
$fastTracked boolean

setJournalId() 공개 메소드

Set ID of journal.
public setJournalId ( $journalId )
$journalId int

setSectionAbbrev() 공개 메소드

Set section abbreviation.
public setSectionAbbrev ( $sectionAbbrev )
$sectionAbbrev string

setSectionId() 공개 메소드

Set ID of article's section.
public setSectionId ( $sectionId )
$sectionId int

setSectionTitle() 공개 메소드

Set title of article's section.
public setSectionTitle ( $sectionTitle )
$sectionTitle string