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

Public Member Functions

 display ($args, $request)
 
 execute ($args, $request)
 
 UserRoleForm ($userId, $userFullName)
 
- 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)
 

Additional Inherited Members

- 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 managing roles for a newly created user.

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

Member Function Documentation

UserRoleForm::display (   $args,
  $request 
)

Display the form.

Parameters
$argsarray
$requestPKPRequest

Definition at line 43 of file UserRoleForm.inc.php.

UserRoleForm::execute (   $args,
  $request 
)

Update user's roles.

Parameters
$argsarray
$requestPKPRequest

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

UserRoleForm::UserRoleForm (   $userId,
  $userFullName 
)

Constructor.

Parameters
int$userId
string$userFullName

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


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