Swat/SwatHtmlTag.php
public function display()
    {
        if ($this->content === null) {
            $this->openInternal(true);
        } else {
            $this->openInternal(false);
            $this->displayContent();
            $this->close();
        }
    }
public function display()
    {
        if ($this->content === null) {
            $this->openInternal(true);
        } else {
            $this->openInternal(false);
            $this->displayContent();
            $this->close();
        }
    }
public function display ( ) { if ( $ this -> content === null ) { $ this -> openInternal ( true ) ; } else { $ this -> openInternal ( false ) ; $ this -> displayContent ( ) ; $ this -> close ( ) ; } }
Displays this tag

Output the opening tag including all its attributes and implicitly
close the tag. If explicit closing is desired, use
{@link SwatHtmlTag::open()} and {@link SwatHtmlTag::close()} instead.
If {@link SwatHtmlTag::content} is set then the content is displayed
between an opening and closing tag, otherwise a self-closing tag is
displayed.

@see SwatHtmlTag::open()
Displays this tag