2017 © Pedro Peláez
 

library yii2-widget-infinite-level

image

mztest/yii2-widget-infinite-level

  • Wednesday, November 29, 2017
  • by mztest
  • Repository
  • 0 Watchers
  • 0 Stars
  • 48 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 17 % Grown

The README.md

yii2-widget-infinite-level

Installation

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

Either run, (*2)

php composer.phar require --prefer-dist mztest/yii2-widget-infinite-level "*"

or add, (*3)

"mztest/yii2-widget-infinite-level": "*"

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

Usage

Simply use it in your code by :, (*5)

use mztest\infiniteLevel\InfiniteLevel;
<?= $form->field($model, 'parent_id')->widget(InfiniteLevel::className(), [
    'items' => [['value' => 'value1', 'label' =>'label1'], ['value' => 'value2', 'label' =>'label2']],
    'itemParents' => ['Parents ID here']
]) ?>

The Versions

29/11 2017

dev-master

9999999-dev https://github.com/mztest/yii2-widget-infinite-level

  Sources   Download

MIT

by Guo Xiaosong

yii2 widget infinity level

10/08 2017

1.0

1.0.0.0 https://github.com/mztest/yii2-widget-infinite-level

  Sources   Download

MIT

by Guo Xiaosong

yii2 widget infinity level