Horde_Group_Ldap::_getName PHP Method

_getName() protected method

Returns a group name.
protected _getName ( mixed $gid ) : string
$gid mixed A group ID.
return string The group's name.
    protected function _getName($gid)
    {
        try {
            $entry = $this->_ldap->getEntry($gid);
            return $entry->getValue($this->_params['gid'], 'single');
        } catch (Horde_Ldap_Exception $e) {
            throw new Horde_Group_Exception($e);
        }
    }