Skip to content
 
 

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

JsonFields Yii Behavior

Yii CActiveRecord behavior that allows to create array attributes which are stored in DB using json.

How to use

TODO: add comments

How to attach

public function behaviors()
{
    return array(
        array(
            'class' => 'ext.jsonfields.JsonFieldsBehavior',
            'attributes' => 'customParams',
            'arrayMode' => true,
        ),
    );
}

Settings

TODO: add comments

  • attributes
  • arrayMode

About

Yii CActiveRecord behavior that allows to create array attributes which are stored in DB using json.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages