Download the PHP package yongtiger/yii2-bootstrap-tree without Composer
On this page you can find all versions of the php package yongtiger/yii2-bootstrap-tree. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yii2-bootstrap-tree
yii2-bootstrap-tree release version 1.0.2 (typo)
A bootstrap tree for jonmiles bootstrap treeview BOTH 1.2.0 and 2.0.0 (https://github.com/jonmiles/bootstrap-treeview).
Forked and improved from dmitry-suffi/yii-tree-widget and lesha724/yii2-bootstrap-tree.
FEATURES
- for
jonmiles bootstrap treeviewBOTH1.2.0and2.0.0(https://github.com/jonmiles/bootstrap-treeview) - automatically displaying selected nodes according to route/params (e.g.
id)
DEPENDENCES
jonmiles bootstrap treeview 1.2.0or2.0.0(https://github.com/jonmiles/bootstrap-treeview)
INSTALLATION
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json.
CONFIGURATION
USAGES
Example of data.$items structure (https://github.com/jonmiles/bootstrap-treeview#data-structure):
Other usages are just same as yii\widgets\Menu.
-
textTemplateis same as yii\widgets\Menu::labelTemplateNote: for using
jonmiles bootstrap-treeview 2.0.0, must specify it as<a href="{href}">{text}</a> -
encodeTextsis same as yii\widgets\Menu::encodeLabels -
selectNodesis same as yii\widgets\Menu::activateItems -
selectParentsis same as yii\widgets\Menu::activateParentsNote: when it is true, you must also set
multiSelectof the treeview widget options to true! -
hideEmptyNodesis same as yii\widgets\Menu::hideEmptyItems -
routeis same as yii\widgets\Menu::route paramsis same as yii\widgets\Menu::params
NOTES
hrefhas been obsoleted injonmiles bootstrap-treeview 2.0.0. You can specifytextTemplateas<a href="{href}">{text}</a>in the treeview widget options to generate the url of node.
DOCUMENTS
REFERENCES
SEE ALSO
TBD
Development roadmap
LICENSE
yii2-bootstrap-tree is released under the MIT license, see LICENSE file for details.
All versions of yii2-bootstrap-tree with dependencies
yiisoft/yii2 Version *
yiisoft/yii2-bootstrap Version *
bower-asset/bootstrap-treeview Version @dev