2017 © Pedro Peláez
 

library checkboxtree

easy checkboxtree

image

krejcon3/checkboxtree

easy checkboxtree

  • Monday, June 30, 2014
  • by krejcon3
  • Repository
  • 2 Watchers
  • 1 Stars
  • 110 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 2 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

CheckBoxTree

Form Component for Nette framework, (*1)

##Application

Register to form: app/bootstrap.php, (*2)

\krejcon3\CheckboxTree::register();, (*3)

##Using

$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)

The Versions

30/06 2014

dev-master

9999999-dev

easy checkboxtree

  Sources   Download

BSD-3-Clause

The Requires

 

by Ondřej Krejčíř

form input checkbox nette tree checkboxtree