public function parse($html, $blockName = 'document', $blockParams = null, $noCycle = false) { if ($noCycle) { return parent::parse($html, $blockName, $blockParams); } if (empty($blockParams['var'])) { return; } $this->params[0] = $this->_getVar($blockParams['var']); return parent::parse($html, $blockName, $blockParams, $noCycle); }
public function parse($html = null, $blockName = 'document', $blockParams = null, $noCycle = false) { $blockParams['var'] = 'message'; return parent::parse($html, $blockName, $blockParams, $noCycle); }