/** * Merge template variables * Called automatically for a save * * @return void */ protected function _parse() { parent::_parse(); $this->stylesXml = str_replace(array_keys($this->styleVars), array_values($this->styleVars), $this->stylesXml); }