Open Journal Systems
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 | |
Form to edit user's contact information.
Definition at line 18 of file ContactForm.inc.php.
ContactForm::__construct | ( | $user | ) |
Constructor.
$user | User |
Definition at line 24 of file ContactForm.inc.php.
References Form\addCheck(), and DAORegistry\getDAO().
ContactForm::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 89 of file ContactForm.inc.php.
References PKPApplication\get(), Form\getData(), BaseProfileForm\getUser(), and PKPLocale\isLocaleValid().
ContactForm::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 36 of file ContactForm.inc.php.
References PKPTemplateManager\getManager().
ContactForm::initData | ( | ) |
Initialize form data for a new form.
Reimplemented from Form.
Definition at line 56 of file ContactForm.inc.php.
References BaseProfileForm\getUser().
ContactForm::readInputData | ( | ) |
Assign form data to user-submitted data.
Reimplemented from Form.
Definition at line 73 of file ContactForm.inc.php.
References Form\getData(), Form\readUserVars(), and Form\setData().