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); }
public function parseError($code, $data = null) { if ($this->_driver) { $this->_driver->processError($this->task); } else { parent::parseError($code, $data); } }