public function toString()
        {
            if ($this->void) {
                return '<'.$this->tag.$this->createAttributes().' />';
            } else {
                return '<'.$this->tag.$this->createAttributes().'>'.$this->recursivelyStringify($this->content).'</'.$this->tag.'>';
            }
        }
public function toString()
        {
            if ($this->void) {
                return '<'.$this->tag.$this->createAttributes().' />';
            } else {
                return '<'.$this->tag.$this->createAttributes().'>'.$this->recursivelyStringify($this->content).'</'.$this->tag.'>';
            }
        }
public function toString ( ) { if ( $ this -> void ) { return '<' . $ this -> tag . $ this -> createAttributes ( ) . ' />' ; } else { return '<' . $ this -> tag . $ this -> createAttributes ( ) . '>' . $ this -> recursivelyStringify ( $ this -> content ) . '</' . $ this -> tag . '>' ; } }
Generates the HTML and will recursively generate HTML out of inner
content.

@return string
Generates the HTML and will recursively generate HTML out of inner content .