PHP Class kartik\tree\TreeView

Since: 1.0
Author: Kartik Visweswaran ([email protected])
Inheritance: extends kartik\base\Widget
Datei anzeigen Open project: kartik-v/yii2-tree-manager Class Usage Examples

Public Properties

Property Type Description
$alertFadeDuration animation duration (ms) for fading in and out alerts that are displayed during manipulation of nodes.
$allowNewRoots allow new root creation.
$autoLoadBsPlugin whether to auto load the bootstrap plugin assets if showTooltips is true OR if TreeViewInput::asDropdown is true. Defaults to true.
$breadcrumbs the breadcrumbs settings for displaying the current node title based on parent hierarchy in the node details form/view (starting from the current node). The following settings are supported: - depth: int, the depth to dig into the parent nodes for fetching the breadcrumb titles. If set to null or 0 this will fetch breadcrumbs till infinite parent depth. Defaults to null. - glue: string, the separator to glue each node name within the breadcrumbs. Defaults to . - activeCss: string, the CSS class to be applied to the current node name in the breadcrumbs. Defaults to kv-crumb-active. - untitled: string, the title to be displayed if this is a new untitled node record. Defaults to Untitled.
$buttonGroupOptions the HTML attributes for the button groups within the toolbar.
$buttonIconOptions the default HTML attributes for the toolbar button icons
$buttonOptions the default HTML attributes for the toolbar buttons
$cacheSettings cache settings for displaying the detail form content for each tree node via ajax. The following options are supported: - enableCache: bool, defaults to true. - cacheTimeout: int, the cache timeout in milliseconds. Defaults to 300000 (or 5 minutes).
$checkedNodeOptions the HTML attributes for the indicator which will represent a checked checkbox. The following special options are recognized: - 'label': string, the label for the indicator. If not set will default to: - if fontAwesome is true - if fontAwesome is false
$childNodeIconOptions the HTML attributes for the child node icon.
$clientMessages the configuration of various client alert messages
$collapseNodeOptions the HTML attributes for the indicator for collapsing a node. The following special options are recognized: - 'label': string, the label for the indicator. If not set will default to: - if fontAwesome is true - if fontAwesome is false
$defaultChildNodeIcon the icon markup for the child node if no icon was setup in the database.
$defaultParentNodeIcon the icon markup for the collapsed parent node if no icon was setup in the database.
$defaultParentNodeOpenIcon the icon markup for the opened parent node if no icon was setup in the database.
$detailOptions the HTML attributes for the detail form container which will display the details of the selected node
$displayValue the initial value (key) to be selected in the tree and displayed in the detail form. Defaults to 1.
$emptyNodeMsg message shown on tree initialization when either the entire tree is empty or no node is found for the selected displayValue.
$emptyNodeMsgOptions HTML attributes for the empty node message displayed.
$expandNodeOptions the HTML attributes for the indicator for expanding a node. The following special options are recognized: - 'label': string, the label for the indicator. If not set will default to: - if fontAwesome is true - if fontAwesome is false
$fontAwesome whether to use font awesome icons. Defaults to false.
$footerOptions the HTML attributes for the tree footer container.
$footerTemplate the template for rendering the footer
$headerOptions the HTML attributes for the tree header container
$headerTemplate the template for rendering the header
$headingOptions the HTML attributes for the heading. The following additional option is recognized: label: the label to display for the heading
$iconEditSettings settings to edit the icon. The following settings are recognized: - show: string, whether to display the icons selection as a list. If set to 'text', the icon will be shown as a plain text input along with icon type. If set to 'list', a list will be shown. If set to 'none', then no icon settings will be shown for editing. - type: string, the iconTypeAttribute value, defaults to TreeView::ICON_CSS. Should be one of TreeView::ICON_CSS or TreeView::ICON_RAW. - listData: array, the configuration of the icon list data to be shown for selection. This is mandatory if you set show to 'list'. You must set the data as $key => $value format. The list will be parsed to display the icon list and will depend on the type. - If type = TreeView::ICON_CSS: $key will be the icon suffix name and $value will be the description for the icon. The icon markup will be automatically parsed then based on whether its a glyphicon or font-awesome when fontAwesome property is true. For example: [ 'folder-close' => 'Folder', 'file' => 'File', 'tag' => 'Tag' ] - If type = TreeView::ICON_RAW: $key is the icon markup to be stored and $value is the output markup to be displayed as a selection in the list. For example: [ '' => 'Folder', '' => 'File', '' => 'Tag', ]
$isAdmin whether the tree is to be allowed for editing in admin mode. This will display all nodes and will allow to modify internal tree node flags. Defaults to false.
$mainTemplate the main template for rendering the tree view navigation widget and the node detail view form.
$multiple whether to allow multiple selection of checkboxes. Defaults to true. If set to false will not show a checkbox and allow only single selection of tree nodes.
$nodeActions the actions for managing, deleting, and moving the tree nodes. The keys must be one of 'manage', 'save', 'remove', and 'move'. Defaults to: [ 'save' => Url::to(['/treemanager/node/save']), 'manage' => Url::to(['/treemanager/node/manage']), 'remove' => Url::to(['/treemanager/node/remove']), 'move' => Url::to(['/treemanager/node/move']), ]
$nodeAddlViews the list of additional view files that will be used to append content at various sections in the nodeView form.
$nodeCheckboxOptions the HTML attributes for the node checkbox indicator for all items in the tree
$nodeFormOptions the HTML attributes for the node detail form.
$nodeLabel the value to customize a tree node's label. - if set as an array, the array key must be the node key value (i.e. keyAttribute) and array value will be the new node label you want to assign. - if set as a Closure, the callback function must be of the signature function($node)}, where $node will represent each tree node's model object instance. If a value is not traceable through above methods, the database tree node name will be displayed (as parsed via nameAttribute).
$nodeToggleOptions the HTML attributes for the node toggle indicator for each parent item in the tree
$nodeView the view file that will render the form for editing the node.
$options the HTML attributes for the input that will store the selected nodes for the widget
$parentNodeIconOptions the HTML attributes for the parent node icon.
$query the query that will be used as the data source for the TreeView. For example: Tree::find()->addOrderBy('root, lft')
$rootNodeCheckboxOptions the HTML attributes for the root node's checkbox indicator
$rootNodeToggleOptions the HTML attributes for the root node's toggle indicator
$rootOptions the HTML attributes for the topmost root node container. The following special options are recognized: - label: string, the label for the topmost root node (this is not HTML encoded). Defaults to 'Root'. Set this to empty to not display a label.
$searchClearOptions the HTML attributes for the search clear indicator
$searchContainerOptions the HTML attributes for the search container
$searchOptions the HTML attributes for the search input
$showCheckbox whether to show a checkbox before each tree node label to allow multiple node selection.
$showFormButtons whether to show the form action buttons in the node details form/view.
$showIDAttribute whether to show the key attribute (ID) in the node details form/view.
$showInactive whether to show inactive nodes
$showTooltips show toolbar button tooltips (using bootstrap tooltip plugin). The BootstrapPluginAsset will automatically be loaded if this is set to true.
$softDelete whether the record will be soft deleted, when remove button is clicked. Defaults to true. The following actions are possible: - If true, this will just set the active property of node to false. - If false, it will attempt to hard delete the whole record.
$toolbar the settings for the tree management toolbar
$toolbarOptions the HTML attributes for the toolbar.
$toolbarOrder the sorting order of the buttons in the toolbar. Each item in this array should be one of the button keys as set in the toolbar array keys (except for BTN_SEPARATOR which will be parsed as is). Note that, if this is set, then only the button keys configured here will be displayed (irrespective of the toolbar setup). Hence one must ensure that all the toolbar button keys are set here to display all the toolbar buttons.
$treeOptions the HTML attributes for the tree selector container
$treeWrapperOptions the HTML attributes for the wrapper container for the tree header, body, and footer.
$uncheckedNodeOptions the HTML attributes for the indicator which will represent an unchecked checkbox. The following special options are recognized: - 'label': string, the label for the indicator. If not set will default to: - if fontAwesome is true - if fontAwesome is false
$value the comma separated initial value (keys) to be checked and selected in the tree
$wrapperTemplate the wrapper template for rendering the tree view navigation widget

Protected Properties

Property Type Description
$_hasBootstrap whether to load the bootstrap plugin asset
$_iconPrefix the icon prefix
$_iconsList the icons list
$_module the tree management module.
$_nodeSelected session identifier for the selected node id
$_nodes the queried tree nodes

Public Methods

Method Description
begin ( $config = [] )
getConfig ( array $config = [] ) : array Generates the configuration for the widget based on module level defaults
init ( )
initOptions ( ) Initialize all options & settings for the widget
module ( ) : kartik\tree\Module Returns the tree view module
registerAssets ( ) Registers the client assets for the widget
renderDetail ( ) : string Renders the markup for the detail form to edit/view the selected tree node
renderFooter ( ) : string Renders the markup for the tree footer container
renderHeader ( ) : string Renders the markup for the tree header container
renderHeading ( ) : string Renders the markup for the tree heading
renderRoot ( ) : string Renders the root markup for the tree
renderSearch ( ) : string Renders the markup for the search input
renderToolbar ( ) : string Renders the markup for the button actions toolbar
renderTree ( ) : string Renders the markup for the tree hierarchy - uses a fast non-recursive mode of tree traversal.
renderWidget ( ) : string Renders the widget markup
renderWrapper ( ) : string Renders the tree wrapper container
run ( )
widget ( $config = [] )

Protected Methods

Method Description
getCheckboxIcon ( boolean $checked = false ) : string Gets the checkbox icon based on fontAwesome setting
getIconsList ( ) : string Renders the markup for the detail form to edit/view the selected tree node
getNodeIcon ( integer $type ) : string Gets the default node icon markup
getToggleIcon ( string $action = 'collapse' ) : string Gets the default toggle icon based on fontAwesome setting
initSelectedNode ( ) : void Initializes the selected node
initTreeView ( ) Initializes and validates the tree view configurations
parseBool ( boolean $var ) : integer Parses a boolean variable and returns as integer
renderCheckboxIcon ( boolean $checked = false ) : string Renders the checkbox icon markup based on fontAwesome setting
renderCheckboxIconContainer ( boolean $root = false ) : string Renders the checkbox icon container
renderIcon ( string $icon, array $options = [] ) : string Renders a generic icon using icon suffix
renderNodeIcon ( string $icon, integer $iconType, boolean $child = true ) : string Render the default node icon markup
renderToggleIcon ( string $action = 'collapse' ) : string Renders the default toggle icon markup based on fontAwesome setting
renderToggleIconContainer ( boolean $root = false ) : string Renders the toggle icon container
sortToolbar ( ) Sorts the toolbar based on toolbarOrder configuration
usesTrait ( string $class, string $trait, boolean $autoload = false ) : boolean Check if the trait is used by a specific class or recursively by any of the parent classes or parent traits
validateSourceData ( ) Validation of source query data

Method Details

begin() public static method

public static begin ( $config = [] )

getCheckboxIcon() protected method

Gets the checkbox icon based on fontAwesome setting
protected getCheckboxIcon ( boolean $checked = false ) : string
$checked boolean whether 'checked'
return string

getConfig() public static method

Generates the configuration for the widget based on module level defaults
public static getConfig ( array $config = [] ) : array
$config array the widget configuration
return array

getIconsList() protected method

Renders the markup for the detail form to edit/view the selected tree node
protected getIconsList ( ) : string
return string

getNodeIcon() protected method

Gets the default node icon markup
protected getNodeIcon ( integer $type ) : string
$type integer 1 = child, 2 = parent, 3 = parent open
return string

getToggleIcon() protected method

Gets the default toggle icon based on fontAwesome setting
protected getToggleIcon ( string $action = 'collapse' ) : string
$action string whether 'collapse' or 'expand'
return string

init() public method

public init ( )

initOptions() public method

Initialize all options & settings for the widget
public initOptions ( )

initSelectedNode() protected method

Initializes the selected node
protected initSelectedNode ( ) : void
return void

initTreeView() protected method

Initializes and validates the tree view configurations
protected initTreeView ( )

module() public static method

Returns the tree view module
public static module ( ) : kartik\tree\Module
return kartik\tree\Module

parseBool() protected static method

Parses a boolean variable and returns as integer
protected static parseBool ( boolean $var ) : integer
$var boolean the variable to parse
return integer

registerAssets() public method

Registers the client assets for the widget
public registerAssets ( )

renderCheckboxIcon() protected method

Renders the checkbox icon markup based on fontAwesome setting
protected renderCheckboxIcon ( boolean $checked = false ) : string
$checked boolean whether 'checked'
return string

renderCheckboxIconContainer() protected method

Renders the checkbox icon container
protected renderCheckboxIconContainer ( boolean $root = false ) : string
$root boolean whether its a root node
return string

renderDetail() public method

Renders the markup for the detail form to edit/view the selected tree node
public renderDetail ( ) : string
return string

renderFooter() public method

Renders the markup for the tree footer container
public renderFooter ( ) : string
return string

renderHeader() public method

Renders the markup for the tree header container
public renderHeader ( ) : string
return string

renderHeading() public method

Renders the markup for the tree heading
public renderHeading ( ) : string
return string

renderIcon() protected method

Renders a generic icon using icon suffix
protected renderIcon ( string $icon, array $options = [] ) : string
$icon string the icon suffix name
$options array the HTML attributes for the icon container
return string

renderNodeIcon() protected method

Render the default node icon markup
protected renderNodeIcon ( string $icon, integer $iconType, boolean $child = true ) : string
$icon string the current node's icon
$iconType integer the current node's icon type, must be one of: - `TreeView::ICON_CSS` or `1`: if the icon css class suffix name is stored in $icon. - `TreeView::ICON_RAW` or `2`: if the raw icon markup is stored in $icon.
$child boolean whether child or parent
return string

renderRoot() public method

Renders the root markup for the tree
public renderRoot ( ) : string
return string

renderSearch() public method

Renders the markup for the search input
public renderSearch ( ) : string
return string

renderToggleIcon() protected method

Renders the default toggle icon markup based on fontAwesome setting
protected renderToggleIcon ( string $action = 'collapse' ) : string
$action string whether 'collapse' or 'expand'
return string

renderToggleIconContainer() protected method

Renders the toggle icon container
protected renderToggleIconContainer ( boolean $root = false ) : string
$root boolean whether a root node
return string

renderToolbar() public method

Renders the markup for the button actions toolbar
public renderToolbar ( ) : string
return string

renderTree() public method

Renders the markup for the tree hierarchy - uses a fast non-recursive mode of tree traversal.
public renderTree ( ) : string
return string

renderWidget() public method

Renders the widget markup
public renderWidget ( ) : string
return string

renderWrapper() public method

Renders the tree wrapper container
public renderWrapper ( ) : string
return string

run() public method

public run ( )

sortToolbar() protected method

Sorts the toolbar based on toolbarOrder configuration
protected sortToolbar ( )

usesTrait() protected static method

Check if the trait is used by a specific class or recursively by any of the parent classes or parent traits
protected static usesTrait ( string $class, string $trait, boolean $autoload = false ) : boolean
$class string the class name to check
$trait string the trait class name
$autoload boolean whether to autoload the class
return boolean whether the class has used the trait

validateSourceData() protected method

Validation of source query data
protected validateSourceData ( )

widget() public static method

public static widget ( $config = [] )

Property Details

$_hasBootstrap protected_oe property

whether to load the bootstrap plugin asset
protected $_hasBootstrap

$_iconPrefix protected_oe property

the icon prefix
protected $_iconPrefix

$_iconsList protected_oe property

the icons list
protected $_iconsList

$_module protected_oe property

the tree management module.
protected $_module

$_nodeSelected protected_oe property

session identifier for the selected node id
protected $_nodeSelected

$_nodes protected_oe property

the queried tree nodes
protected $_nodes

$alertFadeDuration public_oe property

animation duration (ms) for fading in and out alerts that are displayed during manipulation of nodes.
public $alertFadeDuration

$allowNewRoots public_oe property

allow new root creation.
public $allowNewRoots

$autoLoadBsPlugin public_oe property

whether to auto load the bootstrap plugin assets if showTooltips is true OR if TreeViewInput::asDropdown is true. Defaults to true.
public $autoLoadBsPlugin

$breadcrumbs public_oe property

the breadcrumbs settings for displaying the current node title based on parent hierarchy in the node details form/view (starting from the current node). The following settings are supported: - depth: int, the depth to dig into the parent nodes for fetching the breadcrumb titles. If set to null or 0 this will fetch breadcrumbs till infinite parent depth. Defaults to null. - glue: string, the separator to glue each node name within the breadcrumbs. Defaults to . - activeCss: string, the CSS class to be applied to the current node name in the breadcrumbs. Defaults to kv-crumb-active. - untitled: string, the title to be displayed if this is a new untitled node record. Defaults to Untitled.
public $breadcrumbs

$buttonGroupOptions public_oe property

the HTML attributes for the button groups within the toolbar.
public $buttonGroupOptions

$buttonIconOptions public_oe property

the default HTML attributes for the toolbar button icons
public $buttonIconOptions

$buttonOptions public_oe property

the default HTML attributes for the toolbar buttons
public $buttonOptions

$cacheSettings public_oe property

cache settings for displaying the detail form content for each tree node via ajax. The following options are supported: - enableCache: bool, defaults to true. - cacheTimeout: int, the cache timeout in milliseconds. Defaults to 300000 (or 5 minutes).
public $cacheSettings

$checkedNodeOptions public_oe property

the HTML attributes for the indicator which will represent a checked checkbox. The following special options are recognized: - 'label': string, the label for the indicator. If not set will default to: - if fontAwesome is true - if fontAwesome is false
public $checkedNodeOptions

$childNodeIconOptions public_oe property

the HTML attributes for the child node icon.
public $childNodeIconOptions

$clientMessages public_oe property

the configuration of various client alert messages
public $clientMessages

$collapseNodeOptions public_oe property

the HTML attributes for the indicator for collapsing a node. The following special options are recognized: - 'label': string, the label for the indicator. If not set will default to: - if fontAwesome is true - if fontAwesome is false
public $collapseNodeOptions

$defaultChildNodeIcon public_oe property

the icon markup for the child node if no icon was setup in the database.
public $defaultChildNodeIcon

$defaultParentNodeIcon public_oe property

the icon markup for the collapsed parent node if no icon was setup in the database.
public $defaultParentNodeIcon

$defaultParentNodeOpenIcon public_oe property

the icon markup for the opened parent node if no icon was setup in the database.
public $defaultParentNodeOpenIcon

$detailOptions public_oe property

the HTML attributes for the detail form container which will display the details of the selected node
public $detailOptions

$displayValue public_oe property

the initial value (key) to be selected in the tree and displayed in the detail form. Defaults to 1.
public $displayValue

$emptyNodeMsg public_oe property

message shown on tree initialization when either the entire tree is empty or no node is found for the selected displayValue.
public $emptyNodeMsg

$emptyNodeMsgOptions public_oe property

HTML attributes for the empty node message displayed.
public $emptyNodeMsgOptions

$expandNodeOptions public_oe property

the HTML attributes for the indicator for expanding a node. The following special options are recognized: - 'label': string, the label for the indicator. If not set will default to: - if fontAwesome is true - if fontAwesome is false
public $expandNodeOptions

$fontAwesome public_oe property

whether to use font awesome icons. Defaults to false.
public $fontAwesome

$footerOptions public_oe property

the HTML attributes for the tree footer container.
public $footerOptions

$footerTemplate public_oe property

the template for rendering the footer
public $footerTemplate

$headerOptions public_oe property

the HTML attributes for the tree header container
public $headerOptions

$headerTemplate public_oe property

the template for rendering the header
public $headerTemplate

$headingOptions public_oe property

the HTML attributes for the heading. The following additional option is recognized: label: the label to display for the heading
public $headingOptions

$iconEditSettings public_oe property

settings to edit the icon. The following settings are recognized: - show: string, whether to display the icons selection as a list. If set to 'text', the icon will be shown as a plain text input along with icon type. If set to 'list', a list will be shown. If set to 'none', then no icon settings will be shown for editing. - type: string, the iconTypeAttribute value, defaults to TreeView::ICON_CSS. Should be one of TreeView::ICON_CSS or TreeView::ICON_RAW. - listData: array, the configuration of the icon list data to be shown for selection. This is mandatory if you set show to 'list'. You must set the data as $key => $value format. The list will be parsed to display the icon list and will depend on the type. - If type = TreeView::ICON_CSS: $key will be the icon suffix name and $value will be the description for the icon. The icon markup will be automatically parsed then based on whether its a glyphicon or font-awesome when fontAwesome property is true. For example: [ 'folder-close' => 'Folder', 'file' => 'File', 'tag' => 'Tag' ] - If type = TreeView::ICON_RAW: $key is the icon markup to be stored and $value is the output markup to be displayed as a selection in the list. For example: [ '' => 'Folder', '' => 'File', '' => 'Tag', ]
public $iconEditSettings

$isAdmin public_oe property

whether the tree is to be allowed for editing in admin mode. This will display all nodes and will allow to modify internal tree node flags. Defaults to false.
public $isAdmin

$mainTemplate public_oe property

the main template for rendering the tree view navigation widget and the node detail view form.
public $mainTemplate

$multiple public_oe property

whether to allow multiple selection of checkboxes. Defaults to true. If set to false will not show a checkbox and allow only single selection of tree nodes.
public $multiple

$nodeActions public_oe property

the actions for managing, deleting, and moving the tree nodes. The keys must be one of 'manage', 'save', 'remove', and 'move'. Defaults to: [ 'save' => Url::to(['/treemanager/node/save']), 'manage' => Url::to(['/treemanager/node/manage']), 'remove' => Url::to(['/treemanager/node/remove']), 'move' => Url::to(['/treemanager/node/move']), ]
public $nodeActions

$nodeAddlViews public_oe property

the list of additional view files that will be used to append content at various sections in the nodeView form.
public $nodeAddlViews

$nodeCheckboxOptions public_oe property

the HTML attributes for the node checkbox indicator for all items in the tree
public $nodeCheckboxOptions

$nodeFormOptions public_oe property

the HTML attributes for the node detail form.
public $nodeFormOptions

$nodeLabel public_oe property

the value to customize a tree node's label. - if set as an array, the array key must be the node key value (i.e. keyAttribute) and array value will be the new node label you want to assign. - if set as a Closure, the callback function must be of the signature function($node)}, where $node will represent each tree node's model object instance. If a value is not traceable through above methods, the database tree node name will be displayed (as parsed via nameAttribute).
public $nodeLabel

$nodeToggleOptions public_oe property

the HTML attributes for the node toggle indicator for each parent item in the tree
public $nodeToggleOptions

$nodeView public_oe property

the view file that will render the form for editing the node.
public $nodeView

$options public_oe property

the HTML attributes for the input that will store the selected nodes for the widget
public $options

$parentNodeIconOptions public_oe property

the HTML attributes for the parent node icon.
public $parentNodeIconOptions

$query public_oe property

the query that will be used as the data source for the TreeView. For example: Tree::find()->addOrderBy('root, lft')
public $query

$rootNodeCheckboxOptions public_oe property

the HTML attributes for the root node's checkbox indicator
public $rootNodeCheckboxOptions

$rootNodeToggleOptions public_oe property

the HTML attributes for the root node's toggle indicator
public $rootNodeToggleOptions

$rootOptions public_oe property

the HTML attributes for the topmost root node container. The following special options are recognized: - label: string, the label for the topmost root node (this is not HTML encoded). Defaults to 'Root'. Set this to empty to not display a label.
public $rootOptions

$searchClearOptions public_oe property

the HTML attributes for the search clear indicator
public $searchClearOptions

$searchContainerOptions public_oe property

the HTML attributes for the search container
public $searchContainerOptions

$searchOptions public_oe property

the HTML attributes for the search input
public $searchOptions

$showCheckbox public_oe property

whether to show a checkbox before each tree node label to allow multiple node selection.
public $showCheckbox

$showFormButtons public_oe property

whether to show the form action buttons in the node details form/view.
public $showFormButtons

$showIDAttribute public_oe property

whether to show the key attribute (ID) in the node details form/view.
public $showIDAttribute

$showInactive public_oe property

whether to show inactive nodes
public $showInactive

$showTooltips public_oe property

show toolbar button tooltips (using bootstrap tooltip plugin). The BootstrapPluginAsset will automatically be loaded if this is set to true.
public $showTooltips

$softDelete public_oe property

whether the record will be soft deleted, when remove button is clicked. Defaults to true. The following actions are possible: - If true, this will just set the active property of node to false. - If false, it will attempt to hard delete the whole record.
public $softDelete

$toolbar public_oe property

the settings for the tree management toolbar
public $toolbar

$toolbarOptions public_oe property

the HTML attributes for the toolbar.
public $toolbarOptions

$toolbarOrder public_oe property

the sorting order of the buttons in the toolbar. Each item in this array should be one of the button keys as set in the toolbar array keys (except for BTN_SEPARATOR which will be parsed as is). Note that, if this is set, then only the button keys configured here will be displayed (irrespective of the toolbar setup). Hence one must ensure that all the toolbar button keys are set here to display all the toolbar buttons.
public $toolbarOrder

$treeOptions public_oe property

the HTML attributes for the tree selector container
public $treeOptions

$treeWrapperOptions public_oe property

the HTML attributes for the wrapper container for the tree header, body, and footer.
public $treeWrapperOptions

$uncheckedNodeOptions public_oe property

the HTML attributes for the indicator which will represent an unchecked checkbox. The following special options are recognized: - 'label': string, the label for the indicator. If not set will default to: - if fontAwesome is true - if fontAwesome is false
public $uncheckedNodeOptions

$value public_oe property

the comma separated initial value (keys) to be checked and selected in the tree
public $value

$wrapperTemplate public_oe property

the wrapper template for rendering the tree view navigation widget
public $wrapperTemplate