|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct ($template, $user) | |
| execute (... $functionArgs) | |
| 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) | |
| fetch ($request, $template=null, $display=false) | |
| getData ($key) | |
| getDefaultFormLocale () | |
| getErrorsArray () | |
| getLocaleFieldNames () | |
| getRequiredLocale () | |
| getTemplate () | |
| initData () | |
| isValid () | |
| readInputData () | |
| readUserVars ($vars) | |
| setData ($key, $value=null) | |
| setDefaultFormLocale ($defaultLocale) | |
| setTemplate ($template) | |
| validate ($callHooks=true) | |
Data Fields | |
| $_user | |
Data Fields inherited from Form | |
| $_checks | |
| $_data | |
| $_errors | |
| $_template | |
| $cssValidation | |
| $defaultLocale | |
| $errorFields | |
| $errorsArray | |
| $formSectionErrors | |
| $requiredLocale | |
| $supportedLocales | |
Base form to edit an aspect of user profile.
Definition at line 18 of file BaseProfileForm.inc.php.
| BaseProfileForm::__construct | ( | $template, | |
| $user | |||
| ) |
Constructor.
| $template | string |
| $user | User |
Definition at line 31 of file BaseProfileForm.inc.php.
References Form\addCheck().
| BaseProfileForm::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.
Reimplemented in PublicProfileForm, ContactForm, IdentityForm, RolesForm, and APIProfileForm.
Definition at line 51 of file BaseProfileForm.inc.php.
References PKPApplication\get(), and DAORegistry\getDAO().
| BaseProfileForm::getUser | ( | ) |
Get the user associated with this profile
Definition at line 44 of file BaseProfileForm.inc.php.
References $_user.
Referenced by PublicProfileForm\deleteProfileImage(), ContactForm\execute(), IdentityForm\fetch(), APIProfileForm\initData(), PublicProfileForm\initData(), ContactForm\initData(), RolesForm\initData(), IdentityForm\initData(), and PublicProfileForm\uploadProfileImage().
| User BaseProfileForm::$_user |
Definition at line 24 of file BaseProfileForm.inc.php.
Referenced by getUser().