HCE Project DC service web UI
0.2
Hierarchical Cluster Engine DC service web UI
|
Public Member Functions | |
rules () | |
attributeLabels () | |
authenticate ($attribute, $params) | |
login () |
Public Attributes | |
$username | |
$password | |
$rememberMe |
Private Attributes | |
$_identity |
LoginForm class. LoginForm is the data structure for keeping user login form data. It is used by the 'login' action of 'SiteController'.
Definition at line 8 of file LoginForm.php.
LoginForm::attributeLabels | ( | ) |
Declares attribute labels.
Definition at line 36 of file LoginForm.php.
LoginForm::authenticate | ( | $attribute, | |
$params | |||
) |
Authenticates the password. This is the 'authenticate' validator as declared in rules().
Definition at line 47 of file LoginForm.php.
LoginForm::login | ( | ) |
Logs in the user using the given username and password in the model.
Definition at line 60 of file LoginForm.php.
LoginForm::rules | ( | ) |
Declares the validation rules. The rules state that username and password are required, and password needs to be authenticated.
Definition at line 21 of file LoginForm.php.
|
private |
Definition at line 14 of file LoginForm.php.
LoginForm::$password |
Definition at line 11 of file LoginForm.php.
LoginForm::$rememberMe |
Definition at line 12 of file LoginForm.php.
LoginForm::$username |
Definition at line 10 of file LoginForm.php.