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

        parent::display();

        $div_tag = new SwatHtmlTag('div');
        $div_tag->id = $this->id;
        $div_tag->class = $this->getCSSClassString();

        $div_tag->open();

        $this->displayBar();
        $this->displayText();

        $div_tag->close();

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

        parent::display();

        $div_tag = new SwatHtmlTag('div');
        $div_tag->id = $this->id;
        $div_tag->class = $this->getCSSClassString();

        $div_tag->open();

        $this->displayBar();
        $this->displayText();

        $div_tag->close();

        Swat::displayInlineJavaScript($this->getInlineJavaScript());
    }
public function display ( ) { if ( ! $ this -> visible ) { return ; } parent :: display ( ) ; $ div_tag = new SwatHtmlTag ( 'div' ) ; $ div_tag -> id = $ this -> id ; $ div_tag -> class = $ this -> getCSSClassString ( ) ; $ div_tag -> open ( ) ; $ this -> displayBar ( ) ; $ this -> displayText ( ) ; $ div_tag -> close ( ) ; Swat :: displayInlineJavaScript ( $ this -> getInlineJavaScript ( ) ) ; }
Displays this progress bar

@throws SwatException if this progress bar's <i>$length</i> property is
not a valid cascading style-sheet dimension.
Displays this progress bar