protected function after()
 {
     parent::after();
     $this->document->setData($this->getOutput());
     $this->setOutput($this->document->compile());
     $this->response->setContentType($this->document->getMime())->setContentEncoding($this->document->getEncoding());
 }
 /**
  * Constructor
  * @param ZObject $a_parent
  * @param string $a_name
  */
 public function __construct(ZObject &$a_parent = null, $a_name = null)
 {
     parent::__construct($a_parent, $a_name);
     $this->document = new ZTextDocument();
     $this->document->setParent($this);
     $this->setBase($this->document);
 }
 /**
  * Constructor
  * @param ZObject $a_parent
  * @param string $a_name
  */
 public function __construct(ZObject &$a_parent = null, $a_name = null)
 {
     parent::__construct($a_parent, $a_name);
     $this->document = new ZSiteMapUrlsetDocument();
 }
 public function after()
 {
     $this->document->setData($this->getReturn());
     parent::after();
 }
 protected function after()
 {
     parent::after();
     $this->document->bodySet($this->getOutput());
     $this->document->output();
 }
 /**
  * Constructor
  * @param ZObject $a_parent
  * @param string $a_name
  */
 public function __construct(ZObject &$a_parent = null, $a_name = null)
 {
     parent::__construct($a_parent, $a_name);
     $this->document = new ZTextDocument(ZDocument::DOCTYPE_CSS, 'text/css');
 }
 protected function after()
 {
     $this->document->setData($this->getOutput());
     parent::after();
 }