|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct ($submission, $publication, $identificationCode) | |
| execute (... $functionArgs) | |
| fetch ($request, $template=null, $display=false) | |
| getIdentificationCode () | |
| getPublication () | |
| getSubmission () | |
| initData () | |
| readInputData () | |
| setIdentificationCode ($identificationCode) | |
| setPublication ($publication) | |
| setSubmission ($submission) | |
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 | |
| $_identificationCode | |
| $_publication | |
| $_submission | |
Data Fields inherited from Form | |
| $_checks | |
| $_data | |
| $_errors | |
| $_template | |
| $cssValidation | |
| $defaultLocale | |
| $errorFields | |
| $errorsArray | |
| $formSectionErrors | |
| $requiredLocale | |
| $supportedLocales | |
Form for adding/editing an identification code.
Definition at line 18 of file IdentificationCodeForm.inc.php.
| IdentificationCodeForm::__construct | ( | $submission, | |
| $publication, | |||
| $identificationCode | |||
| ) |
Constructor.
Definition at line 31 of file IdentificationCodeForm.inc.php.
References Form\addCheck(), setIdentificationCode(), setPublication(), and setSubmission().
| IdentificationCodeForm::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 176 of file IdentificationCodeForm.inc.php.
References fatalError(), DAORegistry\getDAO(), Form\getData(), getIdentificationCode(), getPublication(), and getSubmission().
| IdentificationCodeForm::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 Form.
Definition at line 118 of file IdentificationCodeForm.inc.php.
References fatalError(), DAORegistry\getDAO(), getIdentificationCode(), PKPTemplateManager\getManager(), getPublication(), getSubmission(), and PluginRegistry\loadCategory().
| IdentificationCodeForm::getIdentificationCode | ( | ) |
Get the code
Definition at line 52 of file IdentificationCodeForm.inc.php.
References $_identificationCode.
Referenced by execute(), fetch(), and initData().
| IdentificationCodeForm::getPublication | ( | ) |
Get the Publication
Definition at line 84 of file IdentificationCodeForm.inc.php.
References $_publication.
| IdentificationCodeForm::getSubmission | ( | ) |
Get the Submission
Definition at line 68 of file IdentificationCodeForm.inc.php.
References $_submission.
| IdentificationCodeForm::initData | ( | ) |
Initialize form data from the identification code.
Reimplemented from Form.
Definition at line 103 of file IdentificationCodeForm.inc.php.
References getIdentificationCode().
| IdentificationCodeForm::readInputData | ( | ) |
Assign form data to user-submitted data.
Reimplemented from Form.
Definition at line 164 of file IdentificationCodeForm.inc.php.
References Form\readUserVars().
| IdentificationCodeForm::setIdentificationCode | ( | $identificationCode | ) |
Set the code
Definition at line 60 of file IdentificationCodeForm.inc.php.
Referenced by __construct().
| IdentificationCodeForm::setPublication | ( | $publication | ) |
Set the Publication
| Publication |
Definition at line 92 of file IdentificationCodeForm.inc.php.
Referenced by __construct().
| IdentificationCodeForm::setSubmission | ( | $submission | ) |
Set the Submission
| Submission |
Definition at line 76 of file IdentificationCodeForm.inc.php.
Referenced by __construct().
| IdentificationCodeForm::$_identificationCode |
Identification Code the code being edited
Definition at line 26 of file IdentificationCodeForm.inc.php.
Referenced by getIdentificationCode().
| IdentificationCodeForm::$_publication |
The publication associated with the format being edited
Definition at line 23 of file IdentificationCodeForm.inc.php.
Referenced by getPublication().
| IdentificationCodeForm::$_submission |
The submission associated with the format being edited
Definition at line 20 of file IdentificationCodeForm.inc.php.
Referenced by getSubmission().