2017 © Pedro Peláez
 

yii2-extension yii2-array-field

Behavior that allows you to store arrays in attributes

image

frostealth/yii2-array-field

Behavior that allows you to store arrays in attributes

  • Friday, November 27, 2015
  • by frostealth
  • Repository
  • 1 Watchers
  • 1 Stars
  • 868 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 4 Versions
  • 17 % Grown

The README.md

Yii2 Array Field Behavior

This Yii2 model behavior allows you to store arrays in attributes., (*1)

Installation

Run the Composer command to install the latest stable version:, (*2)

composer require frostealth/yii2-array-field @stable

Usage

Just attach the behavior to your model., (*3)

use frostealth\yii2\behaviors\ArrayFieldBehavior;

public function behaviors()
{
    return [
        [
            'class' => ArrayFieldBehavior::className(),
            'attributes' => ['attribute1', 'attribute2'],
            // 'defaultEncodedValue' => null,
            // 'defaultDecodedValue' => [],
        ],
    ];
}

License

The MIT License (MIT). See LICENSE.md for more information., (*4)

The Versions

27/11 2015

dev-master

9999999-dev https://github.com/frostealth/yii2-array-field

Behavior that allows you to store arrays in attributes

  Sources   Download

MIT

The Requires

 

json yii2 array behavior attribute

11/11 2015

v1.0.2

1.0.2.0 https://github.com/frostealth/yii2-array-field

Behavior that allows you to store arrays in attributes

  Sources   Download

MIT

The Requires

 

json yii2 array behavior attribute

23/06 2015

v1.0.1

1.0.1.0 https://github.com/frostealth/yii2-array-field

Yii2 Array Field Behavior

  Sources   Download

MIT

The Requires

 

json yii2 array behavior attribute

20/06 2015

v1.0.0

1.0.0.0 https://github.com/frostealth/yii2-array-field

Yii2 Array Field Behavior

  Sources   Download

MIT

The Requires