Exemplo n.º 1
0
 public function setResult($content, $contentType = null, $responseCode = null, $baseTemplate = null)
 {
     if ($baseTemplate !== false) {
         $content = $this->factory()->appTemplates()->load($baseTemplate === null ? 'CyantreeManagedModule:base.html' : $baseTemplate, array('content' => $content), false)->content;
     }
     parent::setResult($content, $contentType, $responseCode);
 }
Exemplo n.º 2
0
 public function parseError($code, $data = null)
 {
     if ($this->_driver) {
         $this->_driver->processError($this->task);
     } else {
         parent::parseError($code, $data);
     }
 }