public function finishGroup(&$group) { $this->_tpl->parse($this->_matchBlock($group)); $this->_tpl->setCurrentBlock('qf_main_loop'); $this->_tpl->parseCurrentBlock(); }
/** * Check if the given block exist. If not then an error is logged. * Otherwise it sets the name of the current block: the block where variables are added * * @param string block name * @return integer SIGMA_OK on success, SIGMA_BLOCK_NOT_FOUND on failure */ function setCurrentBlock($block = '__global__') { if (!$this->blockExists($block)) { \DBG::log('The SIGMA-Block ' . $block . ' does not exist'); return SIGMA_BLOCK_NOT_FOUND; } return parent::setCurrentBlock($block); }