public function getTidy($string)
    {
        if (class_exists('Tidy')) {
            if (!$this->_tidy) {
                $this->_tidy = new Tidy();
            }

            $this->_tidy->parseString($string, $this->_config, $this->_encoding);
        }

        return $this->_tidy;
    }
public function getTidy($string)
    {
        if (class_exists('Tidy')) {
            if (!$this->_tidy) {
                $this->_tidy = new Tidy();
            }

            $this->_tidy->parseString($string, $this->_config, $this->_encoding);
        }

        return $this->_tidy;
    }
public function getTidy ( $ string ) { if ( class_exists ( 'Tidy' ) ) { if ( ! $ this -> _tidy ) { $ this -> _tidy = new Tidy ( ) ; } $ this -> _tidy -> parseString ( $ string , $ this -> _config , $ this -> _encoding ) ; } return $ this -> _tidy ; }
Gets a Tidy object

@param string    The data to be parsed.
Gets a Tidy object