CBPHelper :: getExtendedGroupName: Bitrix method

      
<?php 
//  CBPHelper :: getExtendedGroupName()
//  /dist/bitrix/modules/bizproc/classes/general/helper.php:2229

    
public static function getExtendedGroupName($group$appendId true)
    {
        if (
strpos($group'group_') === 0)
            
$group substr($groupstrlen('group_'));
        
$group strtoupper($group);
        
$access self::getAccessProvider();
        
$arNames $access->GetNames(array($group));
        return 
$arNames[$group]['name'].($appendId' ['.$group.']' '');
    }