PHP Class UserSettingsForm, gxc-cms

Author: Tuan Nguyen ([email protected])
Inheritance: extends CFormModel
Show file Open project: nganhtuan63/gxc-cms

Public Properties

Property Type Description
$display_name
$email

Public Methods

Method Description
attributeLabels ( ) Declares attribute labels.
checkEmailValid ( $attribute, $params ) Check if the user updated his email ok or not This is the 'checkEmailValid' validator as declared in rules().
rules ( ) Declares the validation rules.

Method Details

attributeLabels() public method

Declares attribute labels.
public attributeLabels ( )

checkEmailValid() public method

Check if the user updated his email ok or not This is the 'checkEmailValid' validator as declared in rules().
public checkEmailValid ( $attribute, $params )

rules() public method

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

Property Details

$display_name public property

public $display_name

$email public property

public $email