PHP 클래스 ArticleGalley, ojs

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

공개 프로퍼티들

프로퍼티 타입 설명
$_submissionFile SubmissionFile

공개 메소드들

메소드 설명
__construct ( ) Constructor.
getBestGalleyId ( ) : string Return the "best" article ID -- If a public article ID is set, use it; otherwise use the internal article Id.
getFile ( ) : SubmissionFile Get the submission file corresponding to this galley.
getFileId ( ) : integer Get file id
getFileType ( ) : string Get the file type corresponding to this galley.
getGalleyLabel ( ) : string Get the localized galley label.
getLabel ( ) : string Get label/title.
getLocale ( ) : string Get locale.
getLocalizedName ( ) : string Override the parent class to fetch the non-localized label.
getName ( $locale ) : array
getViews ( ) : integer Get views count.
isPdfGalley ( ) : boolean Determine whether the galley is a PDF.
setFileId ( $fileId ) Set file ID.
setLabel ( $label ) Set label/title.
setLocale ( $locale ) Set locale.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( )

getBestGalleyId() 공개 메소드

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

getFile() 공개 메소드

Get the submission file corresponding to this galley.
public getFile ( ) : SubmissionFile
리턴 SubmissionFile

getFileId() 공개 메소드

Get file id
public getFileId ( ) : integer
리턴 integer

getFileType() 공개 메소드

Get the file type corresponding to this galley.
public getFileType ( ) : string
리턴 string MIME type

getGalleyLabel() 공개 메소드

Get the localized galley label.
public getGalleyLabel ( ) : string
리턴 string

getLabel() 공개 메소드

Get label/title.
public getLabel ( ) : string
리턴 string

getLocale() 공개 메소드

Get locale.
public getLocale ( ) : string
리턴 string

getLocalizedName() 공개 메소드

Override the parent class to fetch the non-localized label.
또한 보기: Representation::getLocalizedName()
public getLocalizedName ( ) : string
리턴 string

getName() 공개 메소드

또한 보기: Representation::getName() This override exists to provide a functional getName() in order to make native XML export work correctly. It is only used in that single instance.
public getName ( $locale ) : array
$locale string unused, except to match the function prototype in Representation.
리턴 array

getViews() 공개 메소드

Get views count.
public getViews ( ) : integer
리턴 integer

isPdfGalley() 공개 메소드

Determine whether the galley is a PDF.
public isPdfGalley ( ) : boolean
리턴 boolean

setFileId() 공개 메소드

Set file ID.
public setFileId ( $fileId )
$fileId int

setLabel() 공개 메소드

Set label/title.
public setLabel ( $label )
$label string

setLocale() 공개 메소드

Set locale.
public setLocale ( $locale )
$locale string

프로퍼티 상세

$_submissionFile 공개적으로 프로퍼티

public SubmissionFile $_submissionFile
리턴 SubmissionFile