Yii CActiveRecord behavior that allows to create array attributes which are stored in DB using json.
TODO: add comments
public function behaviors()
{
return array(
array(
'class' => 'ext.jsonfields.JsonFieldsBehavior',
'attributes' => 'customParams',
'arrayMode' => true,
),
);
}TODO: add comments
- attributes
- arrayMode