PHP Class Gc\Component\TreeView

Mostra file Open project: gotcms/gotcms Class Usage Examples

Public Methods

Method Description
render ( array $treeviewData = [], boolean $init = true ) : string Render treeview html

Protected Methods

Method Description
renderIcon ( Gc\Component\IterableInterface $iterator ) : string Render Icon
renderLink ( Gc\Component\IterableInterface $iterator ) : string Render Icon

Method Details

render() public static method

Render treeview html
public static render ( array $treeviewData = [], boolean $init = true ) : string
$treeviewData array Contains data as array
$init boolean Initialize
return string

renderIcon() protected static method

Render Icon
protected static renderIcon ( Gc\Component\IterableInterface $iterator ) : string
$iterator Gc\Component\IterableInterface Document
return string