keepcomments = (bool) $options['keepcomments']; //Nothing to read for HTML return true; } //Joins and optimizes CSS public function minify() { if(class_exists('Minify_HTML')) { // noptimize me $this->content = $this->hide_noptimize($this->content); // Minify html $options = array('keepComments' => $this->keepcomments); if (@is_callable(array(new Minify_HTML,"minify"))) { $tmp_content = Minify_HTML::minify($this->content,$options); if (!empty($tmp_content)) { $this->content = $tmp_content; unset($tmp_content); } } // restore noptimize $this->content = $this->restore_noptimize($this->content); return true; } //Didn't minify :( return false; } //Does nothing public function cache() { //No cache for HTML return true; } //Returns the content public function getcontent() { return $this->content; } }