PHP 클래스 IssueFileDAO, ojs

상속: extends PKPFileDAO
파일 보기 프로젝트 열기: pkp/ojs

공개 프로퍼티들

프로퍼티 타입 설명
$_inlineableTypes * @var array MIME types that can be displayed inline in a browser

공개 메소드들

메소드 설명
__construct ( ) Constructor.
_fromRow ( $row ) : IssueFile Internal function to return an IssueFile object from a row.
deleteById ( $fileId ) Delete an issue file by ID.
deleteByIssueId ( $issueId ) Delete all issue files for an issue.
deleteObject ( $issueFile ) Delete an issue file.
getById ( $fileId, $issueId = null ) : IssueFile Retrieve an issue file by ID.
getInlineableTypes ( ) : array Get inlineable file types.
getInsertId ( ) : integer Get the ID of the last inserted issue file.
insertObject ( $issueFile ) : integer Insert a new IssueFile.
newDataObject ( ) : IssueFile Construct a new IssueFile data object.
setInlineableTypes ( $inlineableTypes ) Set inlineable file types.
updateObject ( $issueFile ) Update an existing issue file.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( )

_fromRow() 공개 메소드

Internal function to return an IssueFile object from a row.
public _fromRow ( $row ) : IssueFile
$row array
리턴 IssueFile

deleteById() 공개 메소드

Delete an issue file by ID.
public deleteById ( $fileId )

deleteByIssueId() 공개 메소드

Delete all issue files for an issue.
public deleteByIssueId ( $issueId )
$issueId int

deleteObject() 공개 메소드

Delete an issue file.
public deleteObject ( $issueFile )

getById() 공개 메소드

Retrieve an issue file by ID.
public getById ( $fileId, $issueId = null ) : IssueFile
$fileId int
$issueId int optional
리턴 IssueFile

getInlineableTypes() 공개 메소드

Get inlineable file types.
public getInlineableTypes ( ) : array
리턴 array

getInsertId() 공개 메소드

Get the ID of the last inserted issue file.
public getInsertId ( ) : integer
리턴 integer

insertObject() 공개 메소드

Insert a new IssueFile.
public insertObject ( $issueFile ) : integer
$issueFile IssueFile
리턴 integer

newDataObject() 공개 메소드

Construct a new IssueFile data object.
public newDataObject ( ) : IssueFile
리턴 IssueFile

setInlineableTypes() 공개 메소드

Set inlineable file types.
public setInlineableTypes ( $inlineableTypes )
$inlineableTypes array

updateObject() 공개 메소드

Update an existing issue file.
public updateObject ( $issueFile )

프로퍼티 상세

$_inlineableTypes 공개적으로 프로퍼티

* @var array MIME types that can be displayed inline in a browser
public $_inlineableTypes