/** * handle renderer requests */ public function _handle() { $dsp = new $this->class(new \Savant\Storage\CDatabase($this->connection)); $this->dataSet = $dsp->dsQuery($this->query); $metaInfo = $this->getMetaInformation(); $tplEngine = new \Savant\Template\CTwig(); $tplEngine->setTemplate(\Savant\CBootstrap::$SKINS_DIR . \DIRECTORY_SEPARATOR . 'dataset' . \Savant\Template\CTwig::SUFFIX); $tplEngine->title = $metaInfo->label; $tplEngine->assign($this->dataSet); $tplEngine->render(); }