Horde_Group_Ldap::_exists PHP Method

_exists() protected method

Checks if a group exists.
protected _exists ( mixed $gid ) : boolean
$gid mixed A group ID.
return boolean True if the group exists.
    protected function _exists($gid)
    {
        try {
            return $this->_ldap->exists($gid);
        } catch (Horde_Ldap_Exception $e) {
            throw new Horde_Group_Exception($e);
        }
    }