Example #1
0
 public function getTemplateVars()
 {
     $ret = parent::getTemplateVars();
     $ret['style'] = $this->_getRow()->style;
     if (!$ret['style']) {
         $ret['style'] = key($this->_getSetting('styles'));
     }
     return $ret;
 }
 public function getTemplateVars(Kwf_Component_Renderer_Abstract $renderer)
 {
     $ret = parent::getTemplateVars($renderer);
     $ret['style'] = $this->_getRow()->style;
     if (!$ret['style']) {
         $ret['style'] = key($this->_getSetting('styles'));
     }
     return $ret;
 }