dev-master
9999999-deveasy checkboxtree
BSD-3-Clause
The Requires
- php >=5.3.0
- nette/nette ~2.0
by Ondřej Krejčíř
form input checkbox nette tree checkboxtree
Wallogit.com
2017 © Pedro Peláez
easy checkboxtree
Form Component for Nette framework, (*1)
Register to form: app/bootstrap.php, (*2)
\krejcon3\CheckboxTree::register();, (*3)
$form->addCheckboxTree(
"cbtree",
"CheckboxTree",
array(
1 => "item1",
2 => "item2",
3 => "item3",
"noid1" => array(
4 => "item4",
5 => "item5",
),
6 => "item6"
)
);
input is multidimensional array
output si simple array of keys (ids),
id by the next level (noid1 in example) may be anything you want...
, (*4)
easy checkboxtree
BSD-3-Clause
form input checkbox nette tree checkboxtree