public function clearKey($keyname = self::DEFAULT_KEY)
    {
        if (isset($_COOKIE[$this->_params['session_name']]) &&
            isset($_COOKIE[$keyname . '_key'])) {
            $this->_setCookie($keyname, false);
            return true;
        }

        return false;
    }
public function clearKey($keyname = self::DEFAULT_KEY)
    {
        if (isset($_COOKIE[$this->_params['session_name']]) &&
            isset($_COOKIE[$keyname . '_key'])) {
            $this->_setCookie($keyname, false);
            return true;
        }

        return false;
    }
public function clearKey ( $ keyname = self :: DEFAULT_KEY ) { if ( isset ( $ _COOKIE [ $ this -> _params [ 'session_name' ] ] ) && isset ( $ _COOKIE [ $ keyname . '_key' ] ) ) { $ this -> _setCookie ( $ keyname , false ) ; return true ; } return false ; }
Clears a secret key entry from the current cookie.

@param string $keyname  The name of the key to clear.

@return boolean  True if key existed, false if not.
Clears a secret key entry from the current cookie .