[dev] Group children

Chuck Hagenbuch chuck at horde.org
Mon Oct 25 17:38:46 PDT 2004


Quoting Richard Wallace <rwallace at thewallacepack.net>:

> I need to get a list of children for a group.  In the Group class there
> is a getGroupParents() method but I can't find any similar way of
> getting a groups children.  Any ideas?

You'll need to submit a patch to Group.php to make a nice wrapper for 
this, but
you just need to call DataTree::get() with $startleaf set to the group 
you want
to list children of.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the dev mailing list