public function RenderGroupStructure(GrowthGroup $objGrowthGroup) { $strReturn = ''; foreach (GrowthGroupStructure::LoadAll() as $objGroupStructure) { if ($objGrowthGroup->IsGrowthGroupStructureAssociated($objGroupStructure)) { $strReturn .= $objGroupStructure->Name . ','; } } $strReturn = substr($strReturn, 0, strlen($strReturn) - 1); return $strReturn; }