|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($contextId, $fileId) | |
| __construct ($contextId, $fileId, $submissionId) | |
| execute (... $functionArgs) | |
| execute (... $functionArgs) | |
| getSubmissionId () | |
| initData () | |
| initData () | |
Public Member Functions inherited from LibraryFileForm | |
| fetch ($request, $template=null, $display=false) | |
| 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 () | |
| isValid () | |
| readUserVars ($vars) | |
| setData ($key, $value=null) | |
| setDefaultFormLocale ($defaultLocale) | |
| setTemplate ($template) | |
| validate ($callHooks=true) | |
Data Fields | |
| $contextId | |
| $libraryFile | |
| $submissionId | |
Data Fields inherited from LibraryFileForm | |
| $contextId | |
| $libraryFileManager | |
Data Fields inherited from Form | |
| $_checks | |
| $_data | |
| $_errors | |
| $_template | |
| $cssValidation | |
| $defaultLocale | |
| $errorFields | |
| $errorsArray | |
| $formSectionErrors | |
| $requiredLocale | |
| $supportedLocales | |
Form for editing a library file.
Definition at line 18 of file files/submissionDocuments/form/EditLibraryFileForm.inc.php.
| EditLibraryFileForm::__construct | ( | $contextId, | |
| $fileId, | |||
| $submissionId | |||
| ) |
Constructor.
| $contextId | int |
| $fileType | int LIBRARY_FILE_TYPE_... |
| $fileId | int optional |
Definition at line 31 of file files/submissionDocuments/form/EditLibraryFileForm.inc.php.
References $contextId, $submissionId, fatalError(), and DAORegistry\getDAO().
| EditLibraryFileForm::__construct | ( | $contextId, | |
| $fileId | |||
| ) |
Constructor.
| $contextId | int |
| $fileType | int LIBRARY_FILE_TYPE_... |
| $fileId | int optional |
Reimplemented from LibraryFileForm.
Definition at line 31 of file settings/library/form/EditLibraryFileForm.inc.php.
References $contextId, fatalError(), and DAORegistry\getDAO().
| EditLibraryFileForm::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 55 of file settings/library/form/EditLibraryFileForm.inc.php.
References DAORegistry\getDAO(), and Form\getData().
| EditLibraryFileForm::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 57 of file files/submissionDocuments/form/EditLibraryFileForm.inc.php.
References DAORegistry\getDAO(), and Form\getData().
| EditLibraryFileForm::getSubmissionId | ( | ) |
return the submission ID for this library file.
Definition at line 71 of file files/submissionDocuments/form/EditLibraryFileForm.inc.php.
References $submissionId.
| EditLibraryFileForm::initData | ( | ) |
Initialize form data from current settings.
Reimplemented from Form.
Definition at line 44 of file settings/library/form/EditLibraryFileForm.inc.php.
| EditLibraryFileForm::initData | ( | ) |
Initialize form data from current settings.
Reimplemented from Form.
Definition at line 46 of file files/submissionDocuments/form/EditLibraryFileForm.inc.php.
| EditLibraryFileForm::$contextId |
the id of the context this library file is attached to
Definition at line 23 of file settings/library/form/EditLibraryFileForm.inc.php.
Referenced by __construct().
| EditLibraryFileForm::$libraryFile |
the file being edited, or null for new
Definition at line 20 of file files/submissionDocuments/form/EditLibraryFileForm.inc.php.
| EditLibraryFileForm::$submissionId |
the id of the submission for this library file
Definition at line 23 of file files/submissionDocuments/form/EditLibraryFileForm.inc.php.
Referenced by __construct(), and getSubmissionId().