|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($submission) | |
| _addFile ($submissionFile) | |
| addEditorial () | |
| addGalleys () | |
| cleanup () | |
| createPackage () | |
| deposit ($url, $username, $password, $apikey=null) | |
| setMetadata ($request) | |
Protected Attributes | |
| $_article = null | |
| $_context = null | |
| $_issue = null | |
| $_outPath = null | |
| $_package = null | |
| $_section = null | |
Class providing a SWORD deposit wrapper for submissions.
Definition at line 20 of file PKPSwordDeposit.inc.php.
| PKPSwordDeposit::__construct | ( | $submission | ) |
Constructor. Create a SWORD deposit object for a submission
| $submission | Submission |
Definition at line 62 of file PKPSwordDeposit.inc.php.
References DAORegistry\getDAO().
| PKPSwordDeposit::_addFile | ( | $submissionFile | ) |
Add a file to a package. Used internally.
| $submissionFile | SubmissionFile |
Definition at line 120 of file PKPSwordDeposit.inc.php.
Referenced by addEditorial(), and addGalleys().
| PKPSwordDeposit::addEditorial | ( | ) |
Add the single most recent editorial file to the deposit package.
Definition at line 139 of file PKPSwordDeposit.inc.php.
References _addFile(), and DAORegistry\getDAO().
| PKPSwordDeposit::addGalleys | ( | ) |
Add all article galleys to the deposit package.
Definition at line 129 of file PKPSwordDeposit.inc.php.
References _addFile().
| PKPSwordDeposit::cleanup | ( | ) |
Clean up after a deposit, i.e. removing all created files.
Definition at line 202 of file PKPSwordDeposit.inc.php.
| PKPSwordDeposit::createPackage | ( | ) |
Build the package.
Definition at line 173 of file PKPSwordDeposit.inc.php.
| PKPSwordDeposit::deposit | ( | $url, | |
| $username, | |||
| $password, | |||
$apikey = null |
|||
| ) |
Deposit the package.
| $url | string SWORD deposit URL |
| $username | string SWORD deposit username (i.e. email address for DSPACE) |
| $password | string SWORD deposit password |
Definition at line 183 of file PKPSwordDeposit.inc.php.
| PKPSwordDeposit::setMetadata | ( | $request | ) |
Register the article's metadata with the SWORD deposit.
| $request | PKPRequest |
Definition at line 95 of file PKPSwordDeposit.inc.php.
|
protected |
Definition at line 55 of file PKPSwordDeposit.inc.php.
|
protected |
Definition at line 37 of file PKPSwordDeposit.inc.php.
|
protected |
Definition at line 49 of file PKPSwordDeposit.inc.php.
|
protected |
path and directory name to use for package creation files
Definition at line 31 of file PKPSwordDeposit.inc.php.
|
protected |
deposit METS package
Definition at line 25 of file PKPSwordDeposit.inc.php.
|
protected |
Definition at line 43 of file PKPSwordDeposit.inc.php.