DB_NestedSet::getSiblings | DB_NestedSet::isParent |
DB_NestedSet | |
PEAR Manual | |
require_once 'DB/NestedSet.php'; |
mixed
DB_NestedSet::getSubBranch
(
string
$id
,
bool
$keepAsArray = FALSE
,
bool
$aliasFields = TRUE
,
array
$addSQL = array()
)
getChildren only queries the immediate children getSubBranch returns all nodes below the given node
The node ID
(optional) Keep the result as an array or transform it into a set of DB_NestedSet_Node objects?
(optional) Should we alias the fields so they are the names of the parameter keys, or leave them as is?
(optional) Array of additional params to pass to the query.
returns False on error, or an array of nodes
see _addSQL
throws no exceptions thrown
This function can not be called statically.
Get SubBranch
|
DB_NestedSet::getSiblings | DB_NestedSet::isParent |
DB_NestedSet | |
PEAR Manual | |