HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
UserLogin Class Reference

Public Member Functions

 rules ()
 attributeLabels ()
 authenticate ($attribute, $params)

Public Attributes

 $username
 $password
 $rememberMe

Detailed Description

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 UserLogin.php.

Member Function Documentation

UserLogin::attributeLabels ( )

Declares attribute labels.

Definition at line 34 of file UserLogin.php.

Here is the call graph for this function:

UserLogin::authenticate (   $attribute,
  $params 
)

Authenticates the password. This is the 'authenticate' validator as declared in rules().

Definition at line 47 of file UserLogin.php.

Here is the call graph for this function:

UserLogin::rules ( )

Declares the validation rules. The rules state that username and password are required, and password needs to be authenticated.

Definition at line 19 of file UserLogin.php.

Member Data Documentation

UserLogin::$password

Definition at line 11 of file UserLogin.php.

UserLogin::$rememberMe

Definition at line 12 of file UserLogin.php.

UserLogin::$username

Definition at line 10 of file UserLogin.php.


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