Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PKPProfileForm Class Reference
Inheritance diagram for PKPProfileForm:
Form ProfileForm

Public Member Functions

 deleteProfileImage ()
 
 display ($request)
 
 execute ($request)
 
 getLocaleFieldNames ()
 
 getUser ()
 
 initData ()
 
 PKPProfileForm ($user)
 
 readInputData ()
 
 uploadProfileImage ()
 
- Public Member Functions inherited from Form
 _decomposeArray ($name, $value, $stack)
 
 addCheck ($formValidator)
 
 addError ($field, $message)
 
 addErrorField ($field)
 
 display ($request=null, $template=null)
 
 execute ($object=null)
 
 fetch ($request, $template=null, $display=false)
 
 Form ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null)
 
 getData ($key)
 
 getDefaultFormLocale ()
 
 getErrorsArray ()
 
 getFormLocale ()
 
 getLocaleFieldNames ()
 
 getRequiredLocale ()
 
 getTemplate ()
 
 initData ()
 
 isLocaleResubmit ()
 
 isValid ()
 
 readInputData ()
 
 readUserDateVars ($vars)
 
 readUserVars ($vars)
 
 setData ($key, $value)
 
 setTemplate ($template)
 
 smartyFormLanguageChooser ($params, &$smarty)
 
 validate ($callHooks=true)
 

Additional Inherited Members

- Public Attributes inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 
 $requiredLocale
 
 $supportedLocales
 

Detailed Description

Form to edit user profile.

Definition at line 18 of file PKPProfileForm.inc.php.

Member Function Documentation

PKPProfileForm::deleteProfileImage ( )

Delete a profile image.

Definition at line 57 of file PKPProfileForm.inc.php.

PKPProfileForm::display (   $request)

Display the form.

Definition at line 112 of file PKPProfileForm.inc.php.

PKPProfileForm::execute (   $request)

Save profile settings.

Definition at line 234 of file PKPProfileForm.inc.php.

PKPProfileForm::getLocaleFieldNames ( )

Get the localized elements for this form.

Returns
array

Definition at line 156 of file PKPProfileForm.inc.php.

PKPProfileForm::getUser ( )

Get the user associated with this profile

Definition at line 50 of file PKPProfileForm.inc.php.

PKPProfileForm::initData ( )

Initialize form data from current settings.

Definition at line 164 of file PKPProfileForm.inc.php.

PKPProfileForm::PKPProfileForm (   $user)

Constructor.

Parameters
$templatestring
$userPKPUser

Definition at line 31 of file PKPProfileForm.inc.php.

PKPProfileForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 196 of file PKPProfileForm.inc.php.

PKPProfileForm::uploadProfileImage ( )

Upload a profile image.

Definition at line 74 of file PKPProfileForm.inc.php.


The documentation for this class was generated from the following file: