PHP Class UserRecoveryForm

UserRecoveryForm is the data structure for keeping user recovery form data. It is used by the 'recovery' action of 'UserController'.
Inheritance: extends CFormModel
Mostra file Open project: mishamx/yii-user Class Usage Examples

Public Properties

Property Type Description
$login_or_email
$user_id

Public Methods

Method Description
attributeLabels ( ) Declares attribute labels.
checkexists ( $attribute, $params )
rules ( ) Declares the validation rules.

Method Details

attributeLabels() public method

Declares attribute labels.
public attributeLabels ( )

checkexists() public method

public checkexists ( $attribute, $params )

rules() public method

The rules state that username and password are required, and password needs to be authenticated.
public rules ( )

Property Details

$login_or_email public_oe property

public $login_or_email

$user_id public_oe property

public $user_id