public function getTemplateVars(Kwf_Component_Renderer_Abstract $renderer)
 {
     $ret = parent::getTemplateVars($renderer);
     $nlData = $this->_getNewsletterComponent();
     $ret['unsubscribe'] = $nlData->getChildComponent('_unsubscribe');
     return $ret;
 }
 public function getTemplateVars()
 {
     $ret = parent::getTemplateVars();
     $nlData = $this->_getNewsletterComponent();
     $ret['unsubscribe'] = $nlData->getChildComponent('_unsubscribe');
     return $ret;
 }
 public function getTemplateVars(Kwf_Component_Renderer_Abstract $renderer)
 {
     $ret = parent::getTemplateVars($renderer);
     $row = $this->_getRow();
     $filename = $row->filename != '' ? $row->filename : 'unnamed';
     $ret['filesize'] = $this->getFilesize();
     $ret['url'] = $this->getDownloadUrl();
     $ret['filename'] = $filename;
     return $ret;
 }
 public function getTemplateVars()
 {
     $ret = parent::getTemplateVars();
     $row = $this->_getRow();
     $filename = $row->filename != '' ? $row->filename : 'unnamed';
     $ret['filesize'] = $this->getFilesize();
     $ret['url'] = $this->getDownloadUrl();
     $ret['filename'] = $filename;
     return $ret;
 }
 public function getTemplateVars()
 {
     $ex = new Kwf_Exception(get_class($this) . ' must only be used as a page type.');
     $ex->logOrThrow();
     return parent::getTemplateVars();
 }
 public function getTemplateVars(Kwf_Component_Renderer_Abstract $renderer)
 {
     $ex = new Kwf_Exception(get_class($this) . ' must only be used as a page type.');
     $ex->logOrThrow();
     return parent::getTemplateVars($renderer);
 }