Swat/SwatButton.php
protected function getInputTag()
    {
        // We do not use a 'button' element because it is broken differently in
        // different versions of Internet Explorer

        $tag = new SwatHtmlTag('input');

        $tag->type = 'submit';
        $tag->name = $this->id;
        $tag->id = $this->id;
        $tag->value = $this->title;
        $tag->class = $this->getCSSClassString();
        $tag->tabindex = $this->tab_index;
        $tag->accesskey = $this->access_key;

        if (!$this->isSensitive()) {
            $tag->disabled = 'disabled';
        }

        return $tag;
    }
protected function getInputTag()
    {
        // We do not use a 'button' element because it is broken differently in
        // different versions of Internet Explorer

        $tag = new SwatHtmlTag('input');

        $tag->type = 'submit';
        $tag->name = $this->id;
        $tag->id = $this->id;
        $tag->value = $this->title;
        $tag->class = $this->getCSSClassString();
        $tag->tabindex = $this->tab_index;
        $tag->accesskey = $this->access_key;

        if (!$this->isSensitive()) {
            $tag->disabled = 'disabled';
        }

        return $tag;
    }
protected function getInputTag ( ) { // We do not use a 'button' element because it is broken differently in // different versions of Internet Explorer $ tag = new SwatHtmlTag ( 'input' ) ; $ tag -> type = 'submit' ; $ tag -> name = $ this -> id ; $ tag -> id = $ this -> id ; $ tag -> value = $ this -> title ; $ tag -> class = $ this -> getCSSClassString ( ) ; $ tag -> tabindex = $ this -> tab_index ; $ tag -> accesskey = $ this -> access_key ; if ( ! $ this -> isSensitive ( ) ) { $ tag -> disabled = 'disabled' ; } return $ tag ; }
Get the HTML tag to display for this button

Can be used by sub-classes to change the setup of the input tag.

@return SwatHtmlTag the HTML tag to display for this button.
Get the HTML tag to display for this button