Public Member Functions | |
rules () | |
attributeLabels () | |
nameIsAvailable ($attribute, $params) | |
newNameIsAvailable ($attribute, $params) | |
isSuperuser ($attribute, $params) | |
bizRuleNotEmpty ($attribute, $params) |
Public Attributes | |
$name | |
$description | |
$type | |
$bizRule | |
$data |
Authorization item form class file.
Definition at line 9 of file AuthItemForm.php.
AuthItemForm::attributeLabels | ( | ) |
AuthItemForm::bizRuleNotEmpty | ( | $attribute, | |
$params | |||
) |
Makes sure that the business rule is not empty when data is specified. This is the 'bizRuleNotEmpty' validator as declared in rules().
Definition at line 80 of file AuthItemForm.php.
References Rights\t().
AuthItemForm::isSuperuser | ( | $attribute, | |
$params | |||
) |
Makes sure that the superuser roles name is not changed. This is the 'isSuperuser' validator as declared in rules().
Definition at line 70 of file AuthItemForm.php.
References Rights\module(), and Rights\t().
AuthItemForm::nameIsAvailable | ( | $attribute, | |
$params | |||
) |
Makes sure that the name is available. This is the 'nameIsAvailable' validator as declared in rules().
Definition at line 49 of file AuthItemForm.php.
References Rights\getAuthorizer(), and Rights\t().
Referenced by newNameIsAvailable().
AuthItemForm::newNameIsAvailable | ( | $attribute, | |
$params | |||
) |
Makes sure that the new name is available if the name been has changed. This is the 'newNameIsAvailable' validator as declared in rules().
Definition at line 60 of file AuthItemForm.php.
References nameIsAvailable().
AuthItemForm::rules | ( | ) |
Declares the validation rules.
Definition at line 20 of file AuthItemForm.php.