2017 © Pedro Peláez
 

yii2-extension yii2-orgchart

Google Visualization OrgChart for Yii Framework 2.0

image

kongoon/yii2-orgchart

Google Visualization OrgChart for Yii Framework 2.0

  • Monday, May 23, 2016
  • by kongoon
  • Repository
  • 1 Watchers
  • 2 Stars
  • 446 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 6 % Grown

The README.md

Yii2 Organization Chart Widget

Easily add Google Visualization OrgChart to your Yii2 application., (*1)

Screen Shot, (*2)

Install

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

Either run, (*4)

composer require kongoon/yii2-orgchart

Usage

To use this widget, insert the following code into a view file:, (*5)

use kongoon\orgchart\OrgChart;

echo OrgChart::widget([
    'data' => [
            [['v' => 'Mike', 'f' => '<img src="https://placeholdit.imgix.net/~text?txtsize=20&txt=Mike&w=120&h=150" /><br  /> <strong>Mike</strong><br  />The President'],'', 'The President'],
            [['v' => 'Jim', 'f' => '<img src="https://placeholdit.imgix.net/~text?txtsize=20&txt=Jim&w=120&h=150" /><br  /><strong>Jim</strong><br  />The Test'],'Mike', 'VP'],
            [['v' => 'ทดสอบ', 'f' => '<img src="https://placeholdit.imgix.net/~text?txtsize=20&txt=ทดสอบ&w=120&h=150" /><br  /><strong>ทดสอบ</strong><br  />The Test'], 'Mike', ''],
            [['v' => 'Bob', 'f' => '<img src="https://placeholdit.imgix.net/~text?txtsize=20&txt=Bob&w=120&h=150" /><br  /><strong>Bob</strong><br  />The Test'], 'Jim', 'Bob Sponge'],
            [['v' => 'Caral', 'f' => '<img src="https://placeholdit.imgix.net/~text?txtsize=20&txt=Caral&w=120&h=150" /><br  /><strong>Caral</strong><br  />The Test'], 'Mike', 'Caral Title'],

    ]
]);

The Versions

23/05 2016

dev-master

9999999-dev https://github.com/kongoon/yii2-orgchart

Google Visualization OrgChart for Yii Framework 2.0

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 yii google visualization orgchart

23/05 2016

0.0.2

0.0.2.0 https://github.com/kongoon/yii2-orgchart

Google Visualization OrgChart for Yii Framework 2.0

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 yii google visualization orgchart

23/05 2016

0.0.1

0.0.1.0 https://github.com/kongoon/yii2-orgchart

Google Visualization OrgChart for Yii Framework 2.0

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 yii google visualization orgchart