|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct (SwordPlugin $plugin, Context $context, Submission $submission) | |
| display () | |
| execute ($request) | |
| getSwordPlugin () | |
| readInputData () | |
Public Member Functions inherited from Form | |
| __construct ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null) | |
| _decomposeArray ($name, $value, $stack) | |
| addCheck ($formValidator) | |
| addError ($field, $message) | |
| addErrorField ($field) | |
| addSupportedFormLocale ($supportedLocale) | |
| display ($request=null, $template=null) | |
| execute (... $functionArgs) | |
| fetch ($request, $template=null, $display=false) | |
| getData ($key) | |
| getDefaultFormLocale () | |
| getErrorsArray () | |
| getLocaleFieldNames () | |
| getRequiredLocale () | |
| getTemplate () | |
| initData () | |
| isValid () | |
| readUserVars ($vars) | |
| setData ($key, $value=null) | |
| setDefaultFormLocale ($defaultLocale) | |
| setTemplate ($template) | |
| validate ($callHooks=true) | |
Protected Member Functions | |
| _getDepositableDepositPoints ($context) | |
Protected Attributes | |
| $_context = null | |
| $_plugin = null | |
| $_submission = null | |
Additional Inherited Members | |
Data Fields inherited from Form | |
| $_checks | |
| $_data | |
| $_errors | |
| $_template | |
| $cssValidation | |
| $defaultLocale | |
| $errorFields | |
| $errorsArray | |
| $formSectionErrors | |
| $requiredLocale | |
| $supportedLocales | |
Form to perform an author's SWORD deposit(s)
Definition at line 16 of file AuthorDepositForm.inc.php.
| AuthorDepositForm::__construct | ( | SwordPlugin | $plugin, |
| Context | $context, | ||
| Submission | $submission | ||
| ) |
Constructor
| $plugin | SwordPlugin |
| $context | Context |
| $submission | Submission |
Definition at line 41 of file AuthorDepositForm.inc.php.
References Plugin\getTemplateResource(), and PKPLocale\requireComponents().
|
protected |
Build a list of collections available for deposit points of type SWORD_DEPOSIT_TYPE_OPTIONAL_SELECTION
| $context | Context |
Definition at line 176 of file AuthorDepositForm.inc.php.
References DAORegistry\getDAO(), getSwordPlugin(), and DepositPointsHelper\loadCollectionsFromServer().
| AuthorDepositForm::display | ( | ) |
Display the form.
| $request | PKPRequest |
| $template | string the template to be rendered, mandatory if no template has been specified on class instantiation. |
Definition at line 72 of file AuthorDepositForm.inc.php.
References _getDepositableDepositPoints(), PKPTemplateManager\getManager(), PKPApplication\getRequest(), and getSwordPlugin().
| AuthorDepositForm::execute | ( | $request | ) |
Save form.
| $request | PKPRequest |
Definition at line 89 of file AuthorDepositForm.inc.php.
References _getDepositableDepositPoints(), Form\getData(), and getSwordPlugin().
| AuthorDepositForm::getSwordPlugin | ( | ) |
Get reference to the sword plugin
Definition at line 53 of file AuthorDepositForm.inc.php.
References $_plugin.
Referenced by _getDepositableDepositPoints(), display(), and execute().
| AuthorDepositForm::readInputData | ( | ) |
Assign form data to user-submitted data. Can be overridden from subclasses.
Reimplemented from Form.
Definition at line 60 of file AuthorDepositForm.inc.php.
References Form\readUserVars().
|
protected |
Definition at line 21 of file AuthorDepositForm.inc.php.
|
protected |
Definition at line 27 of file AuthorDepositForm.inc.php.
Referenced by getSwordPlugin().
|
protected |
Definition at line 33 of file AuthorDepositForm.inc.php.