public function RenderGroupTypes(GroupRegistrations $objGroupRegistration) { $strReturn = ''; foreach (GrowthGroupStructure::LoadAll() as $objGrowthGroupStructure) { if ($objGroupRegistration->IsGrowthGroupStructureAsGroupstructureAssociated($objGrowthGroupStructure)) { $strReturn .= $objGrowthGroupStructure->Name . ', '; } } return substr($strReturn, 0, strlen($strReturn) - 2); }