\FormBuilder\traits\formFormTreeTrait

Class FormTreeTrait

Summary

Methods
Properties
Constants
tree()
treeSelected()
treeChecked()
treeData()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

tree()

tree(  $field,   $title, array  $value = array(), string  $type = \FormBuilder\components\Tree::TYPE_CHECKED) : \FormBuilder\components\Tree

Parameters

$field
$title
array $value
string $type

Returns

\FormBuilder\components\Tree

treeSelected()

treeSelected(  $field,   $title, array  $value = array()) : \FormBuilder\components\Tree

Parameters

$field
$title
array $value

Returns

\FormBuilder\components\Tree

treeChecked()

treeChecked(  $field,   $title, array  $value = array()) : \FormBuilder\components\Tree

Parameters

$field
$title
array $value

Returns

\FormBuilder\components\Tree

treeData()

treeData(  $id,   $title, array  $children = array()) : \FormBuilder\components\TreeData

Parameters

$id
$title
array $children

Returns

\FormBuilder\components\TreeData