Get the node id's of a nodes children
djmystic82 - June 27, 2008 - 12:17
| Project: | Node Relativity |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
Is it possible to write some php to list node id's of the children of a node? The I can use node_load to display any values or the child on the parent.

#1
I need something like this as well, but for D6. I took the liberty to modify this issue, because otherwise I would create a duplicate.
I created a patch to add an API function to relativity which returns a list of child nodes, given a parent node id. I named the function "relativity_list_children". I created a patch both for 6.x-1.x-dev and for HEAD. The patch also uses the new function in two places where it is applicable.
Could this please be reviewed, and hopefully committed + released (1.3)?
#2
i will help to test