bartaakos / cserializebehavior
CSerializeBehavior by Kenrick Buchanan
Installs: 4 767
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/bartaakos/cserializebehavior
Requires
- yiisoft/yii: >=1.1.14
This package is not auto-updated.
Last update: 2025-10-21 12:23:30 UTC
README
@author Kenrick Buchanan nsbucky@gmail.com
@license http://www.yiiframework.com/license/
CSerializeBehavior allows a model to specify some attributes to be arrays and serialized upon save and unserialized after a Find() function is called on the model.
public function behaviors()
{
return array(
'CSerializeBehavior' => array(
'class' => 'vendor.bartaakos.cserializebehavior.CSerializeBehavior',
'serialAttributes' => array('validator_options'),
)
);
}