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

Public Member Functions

 display ($args, $request)
 
 execute ($args, $request)
 
 initData ($args, $request)
 
 readInputData ()
 
 UserDisableForm ($userId, $enable=false)
 
- 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 for enabling/disabling a user.

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

Member Function Documentation

UserDisableForm::display (   $args,
  $request 
)

Display the form.

Definition at line 76 of file UserDisableForm.inc.php.

UserDisableForm::execute (   $args,
  $request 
)

Enable/Disable the user

Parameters
$argsarray
$requestPKPRequest

Definition at line 89 of file UserDisableForm.inc.php.

UserDisableForm::initData (   $args,
  $request 
)

Initialize form data.

Definition at line 47 of file UserDisableForm.inc.php.

UserDisableForm::readInputData ( )

Assign form data to user-submitted data.

See Also
Form::readInputData()

Definition at line 64 of file UserDisableForm.inc.php.

UserDisableForm::UserDisableForm (   $userId,
  $enable = false 
)

Constructor.

Definition at line 35 of file UserDisableForm.inc.php.


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