php_tree snippets 0.3

Operating systemsOS : Windows / Linux / BSD / Solaris
Program licensingScript Licensing : Freeware
CreatedCreated : Jun 25, 2007
Size downloadDownloads : 1
Program licensing
Thank you for voting...

Supplies raw functions to display, inject, retrieve ...

Supplies raw function to display, inject, retrieve and safely delete information from MySQL-database holding 'flat' tree information in rows ident, parent, haschild.
Supplied functions:
- function set_parameters ($gui, $mode, $db, $table)
set's parameters of class
no return
- function display_path($node, $reverse_path)
displays the path to given node
returns number of branches and path in array-> 11 branches from root node out of 11000 nodes in database take around 0. 2 seconds to compute
- function display_reverse_path ($node)
displays reverse path from array gathered in display_path()
returns html-output
-> 11 branches from root node out of 11000 nodes in database
take around 0. 2 seconds to compute
- function display_branch($node)
displays the branch from given node
returns html-output
-> 39 root nodes from 11000 nodes in database take around 0. 3seconds to compute
- function tree($node)
displays the full tree below a given node returns html output |
-> 11000 nodes take 55 seconds to compute
- function insert_into_db($father, $child) insert an object to database |
no return
- function delete_from_db($node)
delete the object refelected by $node from database
moves childs up to parent
no return
- function delete_from_db_wholetree($node)
deletes the object refelected by $node from database
deletes also all objects below given $node
sets haschild to 0 if noone is left in tree below parent
no return

php_tree snippets 0.3 scripting tags: php snippets, tree, function, phptree snippets, node, displays, php tree, return, nodes, database. What is new in php_tree snippets 0.3 software script? - Unable to find php_tree snippets 0.3 news. What is improvements are expecting? Newly-made php_tree snippets 0.4 will be downloaded from here. You may download directly. Please write the reviews of the php_tree snippets. License limitations are unspecified.