package Core

 Methods

FormatArray()

FormatArray($nodes, $type = 'HTML', $include_root = FALSE
Static

Parameters

$nodes

$type

$include_root

FormatFlexArray()

FormatFlexArray($nodes, $include_root = TRUE
Static

Parameters

$nodes

$include_root

__construct()

__construct($options = NULL

Parameters

$options

_getLeftAndRightIds()

_getLeftAndRightIds($parent_id) 

Parameters

$parent_id

_rebuildTree()

_rebuildTree($object_id, $left_id) 

Parameters

$object_id

$left_id

_setupTree()

_setupTree() 

add()

add($object_id, $parent_id = 0

Parameters

$object_id

$parent_id

delete()

delete($object_id, $recurse = FALSE

Parameters

$object_id

$recurse

edit()

edit($object_id, $new_object_id) 

Parameters

$object_id

$new_object_id

getAllChildren()

getAllChildren($object_id = NULL, $recurse = FALSE, $data_format = 0

Parameters

$object_id

$recurse

$data_format

getAllParents()

getAllParents($object_id) 

Parameters

$object_id

getChild()

getChild($object_id) 

Parameters

$object_id

getLeftId()

getLeftId($object_id) 

Parameters

$object_id

getLevel()

getLevel($object_id) 

Parameters

$object_id

getNode()

getNode($object_id) 

Parameters

$object_id

getParentId()

getParentId($object_id) 

Parameters

$object_id

getRightId()

getRightId($object_id) 

Parameters

$object_id

getRootId()

getRootId() 

getTree()

getTree() 

insertGaps()

insertGaps($parent_id) 

Parameters

$parent_id

move()

move($object_id, $parent_id) 

Parameters

$object_id

$parent_id

rebuildTree()

rebuildTree($object_id = FALSE

Parameters

$object_id

setTree()

setTree($id) 

Parameters

$id

getListSQL()

getListSQL($array, $ph = NULL

Parameters

$array

$ph

 Properties

 

$db

$db 

Default

NULL
 

$spacer

$spacer 

Default

0
 

$table

$table 

Default

'fast_tree'
 

$tree_id

$tree_id 

Default

0