Category hierarchical management PHP Scripts Project Tools

Category hierarchical management
Generating form elements to make traversal a select element simply pass the id of the desired node to the factory tree method & then call as_select() on the returned object
// calling as_select will generate a valid select element $root. Generation of select elements for forms generation of lists (ul) consistent with twitters bootstrap framework generation of raw nested (multidimensional) arrays so everyone can extend the script if needed without much trouble as an bonus hierarchy you preorder get a database class which makes use of php. S children factory() sets config & returns mptt object

Category hierarchical management install

Chrome, Firefox, IE10, IE11, IE6, IE7, IE8, IE9, Opera, Safari
MySQL 5.x, PHP 5.0 - 5.2, PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.x

Category hierarchical management download

In Stock
0.0 /5 on 2 buyers reviews

Related Category hierarchical management free similar download

Best Category hierarchical management 2 Reviews

Write a review

get_items() gets items depending on provided criteria & stores them in a local array get_node() gets an object with all data of a node get_path() gets a category array containing the path to defined node is_descendant() checks whether the node is a descendant of another is_leaf() checks whether the node is leaf or not (a node is leaf when it has no child nodes) questions if you have any questions before buying. String sign that is prepended to the title of non leaf items complete list of functions & their description as_array() returns raw array as_html() creates a multi level menu compatible with the bootstrap css framework as_select() creates a html form select element of the whole tree create_child() creates a new categories child node of the node with the given subcategories id create_root() hierarchical creates a root node create_sibling() creates a new sibling next to the given node delete_node() deletes a node & all it. Default & expected values key default type description only_leaf false boolean (true/false) select only leaf nodes from the database? only_leaf_select false boolean (true/false) make nodes with children unselectable sucategory when using as_select()? limit null integer limit the number of returned nodes management (only usefull in combination with the only_leaf parameter) indenter ` `(four spaces) string infinite the bit of text that makes depth of the node visible in select elements prefix_leaf &vdash