public function setDocument(Zoombi_Document &$a_document) { $this->setContentType($a_document->getMime()); $this->setContent($a_document->compile()); $this->setEncoding($a_document->getCharset()); }
protected function after() { $this->setOutput($this->document->compile()); Zoombi_Response::getInstance()->setContentType($this->document->getMime())->setContentCharset($this->document->getCharset()); }