프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |
public __construct ( $article ) | ||
$article | Article |
public addEditorial ( ) : boolean | ||
리턴 | boolean | true iff a file was successfully added to 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 |