|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct ($user) | |
| execute (... $functionArgs) | |
| fetch ($request, $template=null, $display=false) | |
| initData () | |
| readInputData () | |
Public Member Functions inherited from BaseProfileForm | |
| __construct ($template, $user) | |
| getUser () | |
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) | |
Additional Inherited Members | |
Data Fields inherited from BaseProfileForm | |
| $_user | |
Data Fields inherited from Form | |
| $_checks | |
| $_data | |
| $_errors | |
| $_template | |
| $cssValidation | |
| $defaultLocale | |
| $errorFields | |
| $errorsArray | |
| $formSectionErrors | |
| $requiredLocale | |
| $supportedLocales | |
Definition at line 18 of file RolesForm.inc.php.
| RolesForm::__construct | ( | $user | ) |
| RolesForm::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 BaseProfileForm.
Definition at line 86 of file RolesForm.inc.php.
References PKPApplication\get(), and Form\getData().
| RolesForm::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 34 of file RolesForm.inc.php.
References DAORegistry\getDAO(), PKPTemplateManager\getManager(), and AppLocale\requireComponents().
| RolesForm::initData | ( | ) |
Initialize form data for a new form.
Reimplemented from Form.
Definition at line 58 of file RolesForm.inc.php.
References BaseProfileForm\getUser().
| RolesForm::readInputData | ( | ) |
Assign form data to user-submitted data.
Reimplemented from Form.
Definition at line 72 of file RolesForm.inc.php.
References Form\readUserVars().