PHP 클래스 OJSSwordDeposit, ojs

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

공개 프로퍼티들

프로퍼티 타입 설명
$article Article
$issue Issue
$journal Journal
$outPath path and directory name to use for package creation files
$package deposit METS package
$section Section

공개 메소드들

메소드 설명
__construct ( $article ) Constructor.
_addFile ( $file ) Add a file to a package. Used internally.
addEditorial ( ) : boolean Add the single most recent editorial file to the deposit package.
addGalleys ( ) Add all article galleys to the deposit package.
cleanup ( ) Clean up after a deposit, i.e. removing all created files.
createPackage ( ) Build the package.
deposit ( $url, $username, $password ) Deposit the package.
setMetadata ( ) Register the article's metadata with the SWORD deposit.

메소드 상세

__construct() 공개 메소드

Create a SWORD deposit object for an OJS article.
public __construct ( $article )
$article Article

_addFile() 공개 메소드

Add a file to a package. Used internally.
public _addFile ( $file )

addEditorial() 공개 메소드

Add the single most recent editorial file to the deposit package.
public addEditorial ( ) : boolean
리턴 boolean true iff a file was successfully added to the package

addGalleys() 공개 메소드

Add all article galleys to the deposit package.
public addGalleys ( )

cleanup() 공개 메소드

Clean up after a deposit, i.e. removing all created files.
public cleanup ( )

createPackage() 공개 메소드

Build the package.
public createPackage ( )

deposit() 공개 메소드

Deposit the package.
public deposit ( $url, $username, $password )
$url string SWORD deposit URL
$username string SWORD deposit username (i.e. email address for DSPACE)
$password string SWORD deposit password

setMetadata() 공개 메소드

Register the article's metadata with the SWORD deposit.
public setMetadata ( )

프로퍼티 상세

$article 공개적으로 프로퍼티

public Article $article
리턴 Article

$issue 공개적으로 프로퍼티

public Issue $issue
리턴 Issue

$journal 공개적으로 프로퍼티

public Journal $journal
리턴 Journal

$outPath 공개적으로 프로퍼티

path and directory name to use for package creation files
public $outPath

$package 공개적으로 프로퍼티

deposit METS package
public $package

$section 공개적으로 프로퍼티

public Section $section
리턴 Section