2017 © Pedro Peláez
 

yii2-extension yii2-multilevel-category

Create n level child dropdown

image

jayshah88/yii2-multilevel-category

Create n level child dropdown

  • Wednesday, February 18, 2015
  • by jayshah88
  • Repository
  • 2 Watchers
  • 1 Stars
  • 39 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yii2-multilevel-category extension for the Yii2

yii2-multilevel-category allows user to create multilevel dropdown from their desire table for the Yii2., (*1)

Installation

Add to the composer.json file following section:, (*2)

"jayshah88/yii2-multilevel-category": "dev-master"

Usage

add following line at the top of your php file., (*3)

use jay\Multilevel;

Example of usage

$cat = new common\models\base\Category();
$ml = new Multilevel();
echo $form->field($model, 'root')->dropDownList($ml->makeDropDown($parents,$cat));

The Versions

18/02 2015

dev-master

9999999-dev

Create n level child dropdown

  Sources   Download

BSD-3-Clause

The Requires

 

by Jay Shah

yii2 dropdown category multilevel subchild nlevel