2017 © Pedro Peláez
 

yii2-extension yii2-treeimage

View tree with organizational chart. Dependencies with kartik tree manager

image

muhsamsul/yii2-treeimage

View tree with organizational chart. Dependencies with kartik tree manager

  • Wednesday, March 23, 2016
  • by muhsamsul
  • Repository
  • 1 Watchers
  • 2 Stars
  • 31 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 19 % Grown

The README.md

yii2-treeimage

View tree with organizational chart. Dependencies with kartik tree manager, (*1)

View example

example, (*2)

Installation

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

Either run, (*4)

php composer.phar require --prefer-dist muhsamsul/yii2-treeimage "dev-master"

or add, (*5)

"muhsamsul/yii2-treeimage": "dev-master"

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

Migration database or import tbl_tree.sql

yii migrate/up --migrationPath=@vendor/muhsamsul/yii2-treeimage/migrations, (*7)

or import sql file on directory = vendor/muhsamsul/yii2-treeimage/db/tbl_tree.sql, (*8)

generete model with Table Prefix, (*9)

How to create new and update data

usage kartik tree-manager yii2-tree-manager, (*10)

Usage

Once the extension is installed, simply use it in your code by :, (*11)

in your view file: ```php use app\models\Tree; use muhsamsul\treeimage\TreeImage;, (*12)

= TreeImage::widget( 'query' => Tree::find()->addOrderBy('root, lft'), 'root' => 'Parent', //default parent 'icon' => 'user', //default user 'iconRoot' => 'tree-conifer', //default tree-conifer ); ?>

The Versions

23/03 2016

dev-master

9999999-dev

View tree with organizational chart. Dependencies with kartik tree manager

  Sources   Download

MIT

The Requires

 

by Muh. Samsul Huda

extension yii2 tree treeimage