|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($contextId) | |
| __construct ($contextId, $submissionId) | |
| execute (... $functionArgs) | |
| execute (... $functionArgs) | |
| fetch ($request, $template=null, $display=false) | |
| getSubmissionId () | |
| readInputData () | |
| 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) | |
| getData ($key) | |
| getDefaultFormLocale () | |
| getErrorsArray () | |
| getLocaleFieldNames () | |
| getRequiredLocale () | |
| getTemplate () | |
| initData () | |
| isValid () | |
| readUserVars ($vars) | |
| setData ($key, $value=null) | |
| setDefaultFormLocale ($defaultLocale) | |
| setTemplate ($template) | |
| validate ($callHooks=true) | |
Data Fields | |
| $submissionId | |
Data Fields inherited from LibraryFileForm | |
| $contextId | |
| $libraryFileManager | |
Data Fields inherited from Form | |
| $_checks | |
| $_data | |
| $_errors | |
| $_template | |
| $cssValidation | |
| $defaultLocale | |
| $errorFields | |
| $errorsArray | |
| $formSectionErrors | |
| $requiredLocale | |
| $supportedLocales | |
Definition at line 18 of file files/submissionDocuments/form/NewLibraryFileForm.inc.php.
| NewLibraryFileForm::__construct | ( | $contextId, | |
| $submissionId | |||
| ) |
Constructor.
| $contextId | int |
Reimplemented from LibraryFileForm.
Definition at line 30 of file files/submissionDocuments/form/NewLibraryFileForm.inc.php.
References LibraryFileForm\$contextId, $submissionId, and Form\addCheck().
| NewLibraryFileForm::__construct | ( | $contextId | ) |
Constructor.
| $contextId | int |
Definition at line 24 of file settings/library/form/NewLibraryFileForm.inc.php.
References LibraryFileForm\$contextId, and Form\addCheck().
| NewLibraryFileForm::execute | ( | $functionArgs | ) |
Execute the form's action. (Note that it is assumed that the form has already been validated.)
| mixed | $functionArgs,... | Arguments from the caller to be passed to the hook consumer |
Reimplemented from Form.
Definition at line 42 of file settings/library/form/NewLibraryFileForm.inc.php.
References LibraryFileForm\$libraryFileManager, PKPApplication\get(), DAORegistry\getDAO(), and Form\getData().
| NewLibraryFileForm::execute | ( | $functionArgs | ) |
Execute the form's action. (Note that it is assumed that the form has already been validated.)
| mixed | $functionArgs,... | Arguments from the caller to be passed to the hook consumer |
Reimplemented from Form.
Definition at line 58 of file files/submissionDocuments/form/NewLibraryFileForm.inc.php.
References LibraryFileForm\$libraryFileManager, PKPApplication\get(), DAORegistry\getDAO(), and Form\getData().
| NewLibraryFileForm::fetch | ( | $request, | |
$template = null, |
|||
$display = false |
|||
| ) |
Returns a string of the rendered form
| $request | PKPRequest |
| $template | string the template to be rendered, mandatory if no template has been specified on class instantiation. |
| $display | boolean |
Reimplemented from LibraryFileForm.
Definition at line 48 of file files/submissionDocuments/form/NewLibraryFileForm.inc.php.
References PKPTemplateManager\getManager(), and getSubmissionId().
| NewLibraryFileForm::getSubmissionId | ( | ) |
return the submission ID for this library file.
Definition at line 94 of file files/submissionDocuments/form/NewLibraryFileForm.inc.php.
References $submissionId.
Referenced by fetch().
| NewLibraryFileForm::readInputData | ( | ) |
Assign form data to user-submitted data.
Reimplemented from LibraryFileForm.
Definition at line 33 of file settings/library/form/NewLibraryFileForm.inc.php.
References Form\readUserVars().
| NewLibraryFileForm::readInputData | ( | ) |
Assign form data to user-submitted data. Assign form data to user-submitted data. Can be overridden from subclasses.
Reimplemented from LibraryFileForm.
Definition at line 40 of file files/submissionDocuments/form/NewLibraryFileForm.inc.php.
References Form\readUserVars().
| int NewLibraryFileForm::$submissionId |
Definition at line 24 of file files/submissionDocuments/form/NewLibraryFileForm.inc.php.
Referenced by __construct(), and getSubmissionId().