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