Home > PHP > Function > Newt > newt_checkbox_tree_find_item()

newt_checkbox_tree_find_item()

newt_checkbox_tree_find_item - Finds an item in the checkbox tree

Syntax

array newt_checkbox_tree_find_item (resource $checkboxtree, mixed $data)

Arguments

  • checkboxtree
  • data

Description

Finds an item in the checkbox tree by item's data.

Version

PHP PECL newt >= 0.1

Return value

Returns checkbox tree item resource, or NULL if it wasn't found.