PHP Class Article, ojs

User: Admin Date: 21.02.2015 Time: 13:26
Afficher le fichier Open project: pkp/ojs Class Usage Examples

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

Constructor.
public __construct ( )

_getContextLicenseFieldValue() public méthode

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

getBestArticleId() public méthode

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

getContextId() public méthode

Get the context ID.
public getContextId ( ) : integer
Résultat integer

getCoverImage() public méthode

get cover page server-side file name
public getCoverImage ( $locale ) : string
$locale string
Résultat string

getCoverImageAltText() public méthode

get cover page alternate text
public getCoverImageAltText ( $locale ) : string
$locale string
Résultat string

getCurrentRound() public méthode

Get current review round.
public getCurrentRound ( ) : integer
Résultat integer

getEndingPage() public méthode

Get ending page of an article.
public getEndingPage ( ) : integer
Résultat integer

getFastTracked() public méthode

get expedited
public getFastTracked ( ) : boolean
Résultat boolean

getJournalId() public méthode

Get ID of journal.
public getJournalId ( ) : integer
Résultat integer

getLocalizedCoverImage() public méthode

Get the localized cover page server-side file name
public getLocalizedCoverImage ( ) : string
Résultat string

getLocalizedCoverImageAltText() public méthode

Get the localized cover page alternate text

getLocalizedCoverImageUrl() public méthode

Get a full URL to the localized cover image
public getLocalizedCoverImageUrl ( ) : string
Résultat string

getSectionAbbrev() public méthode

Get section abbreviation.
public getSectionAbbrev ( ) : string
Résultat string

getSectionId() public méthode

Get ID of article's section.
public getSectionId ( ) : integer
Résultat integer

getSectionTitle() public méthode

Get title of article's section.
public getSectionTitle ( ) : string
Résultat string

getStartingPage() public méthode

Get starting page of an article.
public getStartingPage ( ) : integer
Résultat integer

setContextId() public méthode

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

setCoverImage() public méthode

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

setCoverImageAltText() public méthode

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

setCurrentRound() public méthode

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

setFastTracked() public méthode

set fastTracked
public setFastTracked ( $fastTracked )
$fastTracked boolean

setJournalId() public méthode

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

setSectionAbbrev() public méthode

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

setSectionId() public méthode

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

setSectionTitle() public méthode

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