2017 © Pedro Peláez
 

yii2-extension yii2-nested-sets-tree-behavior

NestedSetsTreeBehavior for build array from creocoder nested sets behavior and fancytree widget

image

wokster/yii2-nested-sets-tree-behavior

NestedSetsTreeBehavior for build array from creocoder nested sets behavior and fancytree widget

  • Thursday, July 27, 2017
  • by wokster
  • Repository
  • 1 Watchers
  • 5 Stars
  • 170 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 10 % Grown

The README.md

NestedSetsTreeBehavior

NestedSetsTreeBehavior this is the connector between https://github.com/creocoder/yii2-nested-sets and https://github.com/wbraganca/yii2-fancytree-widget, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist wokster/yii2-nested-sets-tree-behavior "*"

or add, (*4)

"wokster/yii2-nested-sets-tree-behavior": "*"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply use it in your model :, (*6)

'htmlTree'=>[
    'class' => \wokster\treebehavior\NestedSetsTreeBehavior::className()
]

use, (*7)

SomeModel::findOne($id)->tree()

to get array for fancytree-widget, (*8)

The Versions

27/07 2017

dev-master

9999999-dev

NestedSetsTreeBehavior for build array from creocoder nested sets behavior and fancytree widget

  Sources   Download

MIT

The Requires

 

by Maksym Tymofeiev

extension yii2 array behavior fancytree nested sets creocoder

27/07 2017

1.0

1.0.0.0

NestedSetsTreeBehavior for build array from creocoder nested sets behavior and fancytree widget

  Sources   Download

MIT

The Requires

 

by Maksym Tymofeiev

extension yii2 array behavior fancytree nested sets creocoder