Class AmorphousModel
Model that assumes any attributes given to it.
Intended for handling special data validation in Fields input.
- CComponent
- CModel implements IteratorAggregate, ArrayAccess
- AmorphousModel
Package: application\models
Author: Demitri Morgan <demitri@x2engine.com>
Located at x2engine/protected/models/AmorphousModel.php
Author: Demitri Morgan <demitri@x2engine.com>
Located at x2engine/protected/models/AmorphousModel.php
public
mixed
|
#
__get( string $name )
Returns a property value, an event handler list or a behavior based on its name. Do not call this method. This is a PHP magic method that we override to allow using the following syntax to read a property or obtain event handlers: $value=$component->propertyName; $handlers=$component->eventName; |
public
mixed
|
|
public
|
|
public
array
|
|
public
|
|
public
string
|
|
public
array
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
public
|
addError(),
addErrors(),
afterConstruct(),
afterValidate(),
attributeLabels(),
beforeValidate(),
behaviors(),
clearErrors(),
createValidators(),
generateAttributeLabel(),
getError(),
getErrors(),
getIterator(),
getSafeAttributeNames(),
getScenario(),
getValidatorList(),
getValidators(),
hasErrors(),
isAttributeRequired(),
isAttributeSafe(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
onAfterConstruct(),
onAfterValidate(),
onBeforeValidate(),
onUnsafeAttribute(),
setAttributes(),
setScenario(),
unsetAttributes(),
validate()
|
__call(),
__isset(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
$attributes,
$errors,
$iterator,
$safeAttributeNames,
$scenario,
$validatorList,
$validators
|