PHP Класс Article, ojs

User: Admin Date: 21.02.2015 Time: 13:26
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__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
public getLocalizedCoverImageAltText ( ) : string
Результат string

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

Get a full URL to the localized cover image
public getLocalizedCoverImageUrl ( ) : string
Результат string

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