Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($template, $contextId, $plugin=null) | |
execute (... $functionArgs) | |
initData () | |
readInputData () | |
![]() | |
__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) | |
fetch ($request, $template=null, $display=false) | |
getData ($key) | |
getDefaultFormLocale () | |
getErrorsArray () | |
getLocaleFieldNames () | |
getRequiredLocale () | |
getTemplate () | |
isValid () | |
readUserVars ($vars) | |
setData ($key, $value=null) | |
setDefaultFormLocale ($defaultLocale) | |
setTemplate ($template) | |
validate ($callHooks=true) | |
Data Fields | |
$contextId | |
$plugin | |
![]() | |
$_checks | |
$_data | |
$_errors | |
$_template | |
$cssValidation | |
$defaultLocale | |
$errorFields | |
$errorsArray | |
$formSectionErrors | |
$requiredLocale | |
$supportedLocales | |
Form for press managers to create and modify sidebar blocks
Definition at line 19 of file CustomBlockForm.inc.php.
CustomBlockForm::__construct | ( | $template, | |
$contextId, | |||
$plugin = null |
|||
) |
Constructor
$template | string the path to the form template file |
$contextId | int |
$plugin | CustomBlockPlugin |
Definition at line 38 of file CustomBlockForm.inc.php.
References $contextId, $plugin, and Form\addCheck().
CustomBlockForm::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 80 of file CustomBlockForm.inc.php.
References $contextId, $plugin, Form\getData(), and PluginRegistry\getPlugin().
CustomBlockForm::initData | ( | ) |
Initialize form data from current group group.
Reimplemented from Form.
Definition at line 54 of file CustomBlockForm.inc.php.
References $contextId, $plugin, PKPTemplateManager\getManager(), and Form\setData().
CustomBlockForm::readInputData | ( | ) |
Assign form data to user-submitted data.
Reimplemented from Form.
Definition at line 73 of file CustomBlockForm.inc.php.
References Form\readUserVars().
int CustomBlockForm::$contextId |
Context (press / journal) ID
Definition at line 24 of file CustomBlockForm.inc.php.
Referenced by __construct(), execute(), and initData().
CustomBlockPlugin CustomBlockForm::$plugin |
Custom block plugin
Definition at line 30 of file CustomBlockForm.inc.php.
Referenced by __construct(), execute(), and initData().