Index

(treeview)

o2tree_filter

boolean o2tree_filter(string $name, string $text, boolean $hide_down)

ATTENTION: Treeview scripting definition and usage are DEPRECATED. Use a Treeview control from development interface (JXOB) instead.

Filter Treeview control $name elements using $text.
Only elements containing $text in their description, and their ancestors, are left in.

If param $hide_down is passed as FALSE subnodes are added to filtered ones, else
they are excluded.


Parameters:
  1. $name
  2. Control unique name
  3. $text
  4. Text to filter for
  5. $hide_down
  6. If FALSE add subnodes, else hide them