2017 © Pedro Peláez
 

library yii-jsonfields

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

image

urmaul/yii-jsonfields

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

  • Monday, July 4, 2016
  • by urmaul
  • Repository
  • 1 Watchers
  • 1 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Abandoned since Mysql supports json itself., (*1)

JsonFields Yii Behavior

Yii CActiveRecord behavior that allows to create array attributes which are stored in DB using json., (*2)

How to use

TODO: add comments, (*3)

How to attach

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

Settings

TODO: add comments, (*4)

  • attributes
  • arrayMode

The Versions

04/07 2016

dev-master

9999999-dev https://github.com/urmaul/jsonfields

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

  Sources   Download

MIT

The Requires

 

json yii behavior cactiverecord

07/02 2015

v1.0.0

1.0.0.0 https://github.com/urmaul/jsonfields

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

  Sources   Download

MIT

The Requires

 

json yii behavior cactiverecord