|
HCE Project DC service web UI
0.2
Hierarchical Cluster Engine DC service web UI
|
Public Member Functions | |
| tableName () | |
| rules () | |
| relations () | |
| attributeLabels () | |
| search () | |
| setUserDefaultAccountType ($userId, $defaultType=self::DEFAULT_ACCOUNT_TYPE) | |
| setUserAccountType ($userId, $accountType) | |
| setAllUsersDefaultAccountTypeByAccountTypeId ($accountTypeId) | |
Static Public Member Functions | |
| static | model ($className=__CLASS__) |
Public Attributes | |
| const | DEFAULT_ACCOUNT_TYPE = 'default' |
| const | DEFAULT_TEMP_ACCOUNT_TYPE = 'default_temp' |
Definition at line 11 of file AccountUsers.php.
| AccountUsers::attributeLabels | ( | ) |
Definition at line 67 of file AccountUsers.php.
|
static |
Returns the static model of the specified AR class. Please note that you should have this exact method in all your CActiveRecord descendants!
| string | $className | active record class name. |
Definition at line 109 of file AccountUsers.php.

| AccountUsers::relations | ( | ) |
Definition at line 54 of file AccountUsers.php.
| AccountUsers::rules | ( | ) |
Definition at line 38 of file AccountUsers.php.
| AccountUsers::search | ( | ) |
Retrieves a list of models based on the current search/filter conditions.
Typical usecase:
Definition at line 87 of file AccountUsers.php.
| AccountUsers::setAllUsersDefaultAccountTypeByAccountTypeId | ( | $accountTypeId | ) |
For all users with current account type id set account type to default
| integer | $accountTypeId |
Definition at line 163 of file AccountUsers.php.

| AccountUsers::setUserAccountType | ( | $userId, | |
| $accountType | |||
| ) |
Set user account type.
| integer | $userId | |
| string | $accountType |
Definition at line 136 of file AccountUsers.php.


| AccountUsers::setUserDefaultAccountType | ( | $userId, | |
$defaultType = self::DEFAULT_ACCOUNT_TYPE |
|||
| ) |
Set user default account type.
| boolean |
Definition at line 119 of file AccountUsers.php.

| AccountUsers::tableName | ( | ) |
Definition at line 30 of file AccountUsers.php.
| const AccountUsers::DEFAULT_ACCOUNT_TYPE = 'default' |
Definition at line 18 of file AccountUsers.php.
| const AccountUsers::DEFAULT_TEMP_ACCOUNT_TYPE = 'default_temp' |
Definition at line 25 of file AccountUsers.php.