public function getTemplateVars(Kwf_Component_Renderer_Abstract $renderer) { $ret = parent::getTemplateVars($renderer); for ($x = 1; $x <= 4; $x++) { $ret["p{$x}"] = Kwf_Component_Data_Root::getInstance()->getComponentById($x); } return $ret; }
public function getTemplateVars(Kwf_Component_Renderer_Abstract $renderer) { $ret = parent::getTemplateVars($renderer); $ret['link'] = $this->getData()->getComponentById(2); return $ret; }
public function getTemplateVars() { $ret = parent::getTemplateVars(); $ret['link'] = $this->getData()->getComponentById(2); return $ret; }