PHP Class UserDisableForm, pkp-lib

Inheritance: extends Form
Afficher le fichier Open project: pkp/pkp-lib Class Usage Examples

Méthodes publiques

Свойство Type Description
$_enable * @var whether to enable or disable the user
$_userId * @var the user id of user to enable/disable

Méthodes publiques

Méthode Description
__construct ( $userId, $enable = false ) Constructor.
display ( $args, $request ) Display the form.
execute ( $args, $request ) Enable/Disable the user
initData ( $args, $request ) Initialize form data.
readInputData ( ) Assign form data to user-submitted data.

Method Details

__construct() public méthode

Constructor.
public __construct ( $userId, $enable = false )

display() public méthode

Display the form.
public display ( $args, $request )

execute() public méthode

Enable/Disable the user
public execute ( $args, $request )
$args array
$request PKPRequest

initData() public méthode

Initialize form data.
public initData ( $args, $request )

readInputData() public méthode

Assign form data to user-submitted data.
See also: Form::readInputData()
public readInputData ( )

Property Details

$_enable public_oe property

* @var whether to enable or disable the user
public $_enable

$_userId public_oe property

* @var the user id of user to enable/disable
public $_userId