public function outputHtml()
    {
        $result = '';
        if (!is_null($this->dom)) {
            //SaveXML : <br/><img/>
            //SaveHTML: <br><img>
            $result = trim($this->dom->saveXML($this->getRealElement()));
            $result = str_replace($this->TEMP_CONTENT, '', $result);
            $parentTagNameLength = strlen($this->PARENT_TAG_NAME);
            $result = substr($result, $parentTagNameLength + 2, -($parentTagNameLength + 3));
        }
        return $result;
    }
public function outputHtml()
    {
        $result = '';
        if (!is_null($this->dom)) {
            //SaveXML : <br/><img/>
            //SaveHTML: <br><img>
            $result = trim($this->dom->saveXML($this->getRealElement()));
            $result = str_replace($this->TEMP_CONTENT, '', $result);
            $parentTagNameLength = strlen($this->PARENT_TAG_NAME);
            $result = substr($result, $parentTagNameLength + 2, -($parentTagNameLength + 3));
        }
        return $result;
    }
public function outputHtml ( ) { $ result = '' ; if ( ! is_null ( $ this -> dom ) ) { //SaveXML : <br/><img/> //SaveHTML: <br><img> $ result = trim ( $ this -> dom -> saveXML ( $ this -> getRealElement ( ) ) ) ; $ result = str_replace ( $ this -> TEMP_CONTENT , '' , $ result ) ; $ parentTagNameLength = strlen ( $ this -> PARENT_TAG_NAME ) ; $ result = substr ( $ result , $ parentTagNameLength + 2 , - ( $ parentTagNameLength + 3 ) ) ; } return $ result ; }
Output the result
@return string HTML string
Output the result