Class AuthItemForm
Authorization item form class file.
- CComponent
-
CModel
implements
IteratorAggregate,
ArrayAccess
-
CFormModel
-
AuthItemForm
Author: Christoffer Niska <cniska@live.com>
Since: 0.5
Located at crisu83/yii-rights/models/AuthItemForm.php
Methods summary
public
array
|
|
public
array
|
|
public
|
#
nameIsAvailable( mixed $attribute, mixed $params )
Makes sure that the name is available. This is the 'nameIsAvailable' validator as declared in rules(). |
public
|
#
newNameIsAvailable( mixed $attribute, mixed $params )
Makes sure that the new name is available if the name been has changed. This is the 'newNameIsAvailable' validator as declared in rules(). |
public
|
#
isSuperuser( mixed $attribute, mixed $params )
Makes sure that the superuser roles name is not changed. This is the 'isSuperuser' validator as declared in rules(). |
public
|
#
bizRuleNotEmpty( mixed $attribute, mixed $params )
Makes sure that the business rule is not empty when data is specified. This is the 'bizRuleNotEmpty' validator as declared in rules(). |
Methods inherited from CFormModel
__construct(),
attributeNames(),
init()
Methods inherited from CModel
addError(),
addErrors(),
afterConstruct(),
afterValidate(),
beforeValidate(),
behaviors(),
clearErrors(),
createValidators(),
generateAttributeLabel(),
getAttributeLabel(),
getAttributes(),
getError(),
getErrors(),
getIterator(),
getSafeAttributeNames(),
getScenario(),
getValidatorList(),
getValidators(),
hasErrors(),
isAttributeRequired(),
isAttributeSafe(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
onAfterConstruct(),
onAfterValidate(),
onBeforeValidate(),
onUnsafeAttribute(),
setAttributes(),
setScenario(),
unsetAttributes(),
validate()
Methods inherited from CComponent
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
Magic methods summary
Properties summary
public
mixed
|
$name | |
public
mixed
|
$description | |
public
mixed
|
$type | |
public
mixed
|
$bizRule | |
public
mixed
|
$data |
Magic properties inherited from CModel
$attributes,
$errors,
$iterator,
$safeAttributeNames,
$scenario,
$validatorList,
$validators