Swat/SwatButton.php
public function display()
    {
        if (!$this->visible) {
            return;
        }

        parent::display();

        $input_tag = $this->getInputTag();
        $input_tag->display();

        if (
            $this->show_processing_throbber ||
            $this->confirmation_message !== null
        ) {
            Swat::displayInlineJavaScript($this->getInlineJavaScript());
        }
    }
public function display()
    {
        if (!$this->visible) {
            return;
        }

        parent::display();

        $input_tag = $this->getInputTag();
        $input_tag->display();

        if (
            $this->show_processing_throbber ||
            $this->confirmation_message !== null
        ) {
            Swat::displayInlineJavaScript($this->getInlineJavaScript());
        }
    }
public function display ( ) { if ( ! $ this -> visible ) { return ; } parent :: display ( ) ; $ input_tag = $ this -> getInputTag ( ) ; $ input_tag -> display ( ) ; if ( $ this -> show_processing_throbber || $ this -> confirmation_message !== null ) { Swat :: displayInlineJavaScript ( $ this -> getInlineJavaScript ( ) ) ; } }
Displays this button

Outputs an XHTML input tag.
Displays this button