Backend\VueComponents\TreeView\SectionDefinition

Treeview section definition. Encapsulates Treeview section information.

Public methods

public void __construct($label, $key)
Parameters
  • $label
  • $key

public void addCreateMenuItem($type, $label=NULL, $command=NULL)
Parameters
  • $type
  • $label
  • $command

public void addMenuItem($type, $label=NULL, $command=NULL)
Parameters
  • $type
  • $label
  • $command

public void addMenuItemObject($item)
Parameters
  • $item

public void addNode($label, $key)
Parameters
  • $label
  • $key

public void getNodes()

public void setChildKeyPrefix($prefix)
Parameters
  • $prefix

public void toArray()