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

        parent::display();

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

        $input_tag = new SwatHtmlTag('input');
        $input_tag->type = 'hidden';
        $input_tag->id = $this->id . '_value';
        $input_tag->name = $this->id;
        $input_tag->value = $this->value;
        $input_tag->accesskey = $this->access_key;

        $input_tag->display();

        $container_div_tag->close();

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

        parent::display();

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

        $input_tag = new SwatHtmlTag('input');
        $input_tag->type = 'hidden';
        $input_tag->id = $this->id . '_value';
        $input_tag->name = $this->id;
        $input_tag->value = $this->value;
        $input_tag->accesskey = $this->access_key;

        $input_tag->display();

        $container_div_tag->close();

        Swat::displayInlineJavaScript($this->getInlineJavaScript());
    }
public function display ( ) { if ( ! $ this -> visible ) { return ; } parent :: display ( ) ; $ container_div_tag = new SwatHtmlTag ( 'div' ) ; $ container_div_tag -> id = $ this -> id ; $ container_div_tag -> class = $ this -> getCSSClassString ( ) ; $ container_div_tag -> open ( ) ; $ input_tag = new SwatHtmlTag ( 'input' ) ; $ input_tag -> type = 'hidden' ; $ input_tag -> id = $ this -> id . '_value' ; $ input_tag -> name = $ this -> id ; $ input_tag -> value = $ this -> value ; $ input_tag -> accesskey = $ this -> access_key ; $ input_tag -> display ( ) ; $ container_div_tag -> close ( ) ; Swat :: displayInlineJavaScript ( $ this -> getInlineJavaScript ( ) ) ; }
Displays this overlay widget
Displays this overlay widget