public function html2text($html)
    {
        if (!$this->html2textLoaded) {
            require dirname(__FILE__).'/../Utility/Html2Text.php';
            $this->html2textLoaded = true;
        }
        $html2text = new Html2Text($html);

        return $html2text->get_text();
    }
public function html2text($html)
    {
        if (!$this->html2textLoaded) {
            require dirname(__FILE__).'/../Utility/Html2Text.php';
            $this->html2textLoaded = true;
        }
        $html2text = new Html2Text($html);

        return $html2text->get_text();
    }
public function html2text ( $ html ) { if ( ! $ this -> html2textLoaded ) { require dirname ( __FILE__ ) . '/../Utility/Html2Text.php' ; $ this -> html2textLoaded = true ; } $ html2text = new Html2Text ( $ html ) ; return $ html2text -> get_text ( ) ; }
Transform HTML content into text.

@param string $html HTML text

@return string Text
Transform HTML content into text .