Class P3CryptBehavior
Behavior, encrypts given attributes with CSecurityManager
- CComponent
-
CBehavior implements IBehavior
-
CModelBehavior
-
CActiveRecordBehavior
-
P3CryptBehavior
Copyright: Copyright © 2005-2010 diemeisterei GmbH
License: http://www.phundament.com/license/
Author: Tobias Munk <schmunk@usrbin.de>
Since: 3.0.3
Located at phundament/p3extensions/behaviors/P3CryptBehavior.php
Methods summary
public
|
#
beforeSave( CModelEvent $event )
Responds to CActiveRecord::onBeforeSave event. Overrides this method if you want to handle the corresponding event of the CBehavior::owner owner. You may set CModelEvent::isValid to be false to quit the saving process. |
public
|
Methods inherited from CActiveRecordBehavior
afterDelete()
,
afterSave()
,
beforeDelete()
,
beforeFind()
,
events()
Methods inherited from CModelBehavior
afterConstruct()
,
afterValidate()
,
beforeValidate()
Methods inherited from CBehavior
attach()
,
detach()
,
getEnabled()
,
getOwner()
,
setEnabled()
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
type
|
$attributes |
#
Attributes which should be crypted |
Magic properties inherited from CActiveRecordBehavior
$owner
Magic properties inherited from CBehavior
$enabled