Class EncryptedFieldsBehavior
Behavior class for storing encrypted values in database fields.
- CComponent
- CBehavior implements IBehavior
- CModelBehavior
- CActiveRecordBehavior
- TransformedFieldStorageBehavior
- EncryptedFieldsBehavior
Direct known subclasses
JSONEmbeddedModelFieldsBehavior
Package: application\components
Author: Demitri Morgan <demitri@x2engine.com>
Located at x2engine/protected/components/EncryptedFieldsBehavior.php
Author: Demitri Morgan <demitri@x2engine.com>
Located at x2engine/protected/components/EncryptedFieldsBehavior.php
public static
|
|
public static
|
|
public
|
|
public
string
|
|
public
string
|
afterFind(),
afterSave(),
beforeSave(),
packAll(),
unpackAll()
|
afterDelete(),
beforeCount(),
beforeDelete(),
beforeFind(),
events()
|
afterConstruct(),
afterValidate(),
beforeValidate()
|
detach(),
getEnabled(),
getOwner(),
setEnabled()
|
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
protected static
boolean
|
$encrypt | true |
#
If true, the stored value will be encrypted. |
public static
|
$encryption |
|
#
Encryption utility object |
public
boolean
|
$checkObject | true |
#
If true, throws an exception if no object has been instantiated. |
$hasOptions,
$transformAttributes
|
$owner
|
$enabled
|