function formMarkup($realm, $return_to=null, $immediate=false,
                        $form_tag_attrs=null)
    {
        $message = $this->getMessage($realm, $return_to, $immediate);

        if (Auth_OpenID::isFailure($message)) {
            return $message;
        }

        return $message->toFormMarkup($this->endpoint->server_url, $form_tag_attrs);
    }
function formMarkup($realm, $return_to=null, $immediate=false,
                        $form_tag_attrs=null)
    {
        $message = $this->getMessage($realm, $return_to, $immediate);

        if (Auth_OpenID::isFailure($message)) {
            return $message;
        }

        return $message->toFormMarkup($this->endpoint->server_url, $form_tag_attrs);
    }
function formMarkup ( $ realm , $ return_to = null , $ immediate = false , $ form_tag_attrs = null ) { $ message = $ this -> getMessage ( $ realm , $ return_to , $ immediate ) ; if ( Auth_OpenID :: isFailure ( $ message ) ) { return $ message ; } return $ message -> toFormMarkup ( $ this -> endpoint -> server_url , $ form_tag_attrs ) ; }
Get html for a form to submit this request to the IDP.

form_tag_attrs: An array of attributes to be added to the form
tag. 'accept-charset' and 'enctype' have defaults that can be
overridden. If a value is supplied for 'action' or 'method', it
will be replaced.

@param string $realm
@param null|string $return_to
@param bool $immediate
@param null|array $form_tag_attrs
@return Auth_OpenID_FailureResponse|Auth_OpenID_Message|string
Get html for a form to submit this request to the IDP .