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

Public Member Functions

 display ($args, $request)
 
execute ($args, $request)
 
 getLocaleFieldNames ()
 
 initData ($args, $request)
 
 readInputData ()
 
 UserDetailsForm ($request, $userId=null, $author=null)
 
- Public Member Functions inherited from UserForm
 deleteEntry ($request, $rowId)
 
 execute ($request)
 
 insertEntry ($request, $newRowId)
 
 readInputData ()
 
 UserForm ($template, $userId=null)
 
- 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)
 

Public Attributes

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

Detailed Description

Form for editing user profiles.

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

Member Function Documentation

UserDetailsForm::display (   $args,
  $request 
)

Display the form.

Parameters
$argsarray
$requestPKPRequest

Definition at line 129 of file UserDetailsForm.inc.php.

& UserDetailsForm::execute (   $args,
  $request 
)

Create or update a user.

Parameters
$argsarray
$requestPKPRequest

Definition at line 231 of file UserDetailsForm.inc.php.

UserDetailsForm::getLocaleFieldNames ( )

Get all locale field names

Definition at line 221 of file UserDetailsForm.inc.php.

UserDetailsForm::initData (   $args,
  $request 
)

Initialize form data from current user profile.

Parameters
$argsarray
$requestPKPRequest

Definition at line 71 of file UserDetailsForm.inc.php.

References DAORegistry\getDAO().

UserDetailsForm::readInputData ( )

Assign form data to user-submitted data.

See Also
Form::readInputData()

Definition at line 168 of file UserDetailsForm.inc.php.

UserDetailsForm::UserDetailsForm (   $request,
  $userId = null,
  $author = null 
)

Constructor.

Parameters
$requestPKPRequest
$userIdint optional
$authorAuthor optional

Definition at line 32 of file UserDetailsForm.inc.php.

References $author.

Member Data Documentation

An UserDetailsForm::$author

optional author to base this user on

Definition at line 24 of file UserDetailsForm.inc.php.

Referenced by UserDetailsForm().


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