NAMESPACE: Bootstrap/Components/AppzioUiKit/Controls

Components/AppzioUiKit/Controls/uiKitHierarchicalCategories.php

public properties
$current_category_info
$submit_click
$tab
public function uiKitHierarchicalCategories($categories,$onclick_save_route,$tab)

Takes a specially formatted array to display a hierarchical, collapsible list up to four levels. See actionMitems > Categories traig for more clues on formatting the array. This component will submit only single item and close the popup on selection.

Note that the final ordering of the elements happens here in the component, so the model can send the results in any order.

parameters

$onclick Onclick the submit upon selection.

variable

$categories
$onclick_save_route
$tab
private function uiKitHierarchicalCategoriesOnclicks($id,$state,$firstlevel)

variable

$id
$state
$firstlevel
private function uiKitHierarchicalCategoriesGetRow($name,$icon,$level)

variable

$name
$icon
$level
private function uiKitHierarchicalCategoriesMainLevel($name,$id)

variable

$name
$id
private function uiKitHierarchicalCategoriesSecondLevel($name,$id,$parent_id)

variable

$name
$id
$parent_id
private function uiKitHierarchicalCategoriesThirdLevel($name,$id,$parent_id)

variable

$name
$id
$parent_id
private function uiKitHierarchicalCategoriesFourthLevel($name,$id,$parent_id)

variable

$name
$id
$parent_id