function _oa_archive_get_subspaces in Open Atrium Archive 7.2
Gets all the sub-Spaces within a particular Space..
Parameters
int $nid: The node ID of the Space.
Return value
array An array of node IDs.
1 call to _oa_archive_get_subspaces()
- oa_archive_trigger_flag in ./
oa_archive.module - Helper function for flag and unflag hooks.
File
- ./
oa_archive.module, line 247
Code
function _oa_archive_get_subspaces($nid) {
return oa_core_get_groups_by_parent($nid, OA_SPACE_TYPE, NULL, FALSE, NULL, TRUE);
}