function _checkMode($ax_args)
    {
        $mode = Auth_OpenID::arrayGet($ax_args, 'mode');
        if ($mode != $this->mode) {
            return new Auth_OpenID_AX_Error(
                            sprintf(
                                    "Expected mode '%s'; got '%s'",
                                    $this->mode, $mode));
        }

        return true;
    }
function _checkMode($ax_args)
    {
        $mode = Auth_OpenID::arrayGet($ax_args, 'mode');
        if ($mode != $this->mode) {
            return new Auth_OpenID_AX_Error(
                            sprintf(
                                    "Expected mode '%s'; got '%s'",
                                    $this->mode, $mode));
        }

        return true;
    }
function _checkMode ( $ ax_args ) { $ mode = Auth_OpenID :: arrayGet ( $ ax_args , 'mode' ) ; if ( $ mode != $ this -> mode ) { return new Auth_OpenID_AX_Error ( sprintf ( "Expected mode '%s'; got '%s'" , $ this -> mode , $ mode ) ) ; } return true ; }
Return Auth_OpenID_AX_Error if the mode in the attribute
exchange arguments does not match what is expected for this
class; true otherwise.

@access private
@param array $ax_args
@return Auth_OpenID_AX_Error|bool
Return Auth_OpenID_AX_Error if the mode in the attribute exchange arguments does not match what is expected for this class ; true otherwise .