static function getChildGroupIds() { $domainGroupID = self::getGroupId(); $childGrps = array(); if ($domainGroupID) { require_once 'CRM/Contact/BAO/GroupNesting.php'; $childGrps = CRM_Contact_BAO_GroupNesting::getChildGroupIds($domainGroupID); $childGrps[] = $domainGroupID; } return $childGrps; }
static function getChildGroupIds() { $domainGroupID = self::getGroupId(); $childGrps = array(); if ($domainGroupID) { $childGrps = CRM_Contact_BAO_GroupNesting::getChildGroupIds($domainGroupID); $childGrps[] = $domainGroupID; } return $childGrps; }