You are here

function _oa_archive_get_sections in Open Atrium Archive 7.2

Gets all the Sections 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_sections()
oa_archive_trigger_flag in ./oa_archive.module
Helper function for flag and unflag hooks.

File

./oa_archive.module, line 260

Code

function _oa_archive_get_sections($nid) {
  return array_keys(oa_core_space_sections($nid, NODE_PUBLISHED, NULL, array(), TRUE));
}