public static function getSettings() { $ret = parent::getSettings(); $ret['ownModel'] = 'Kwc_Cards_TestModel'; $ret['generators']['child']['component'] = array('enlarge' => 'Kwc_Cards_Sub1_Component', 'none' => 'Kwc_Cards_Sub2_Component'); return $ret; }
public static function getSettings($param = null) { $ret = parent::getSettings($param); $ret['ownModel'] = new Kwf_Model_FnF(array('primaryKey' => 'component_id', 'data' => array(array('component_id' => 'foo-1-cards', 'component' => 'none'), array('component_id' => 'foo-2-cards', 'component' => 'card')))); $ret['generators']['child']['component'] = array('none' => 'Kwc_Basic_None_Component', 'card' => 'Kwf_Component_Generator_DbIdRecursiveChildComponents_Detail_Cards_Card_Component'); return $ret; }
public function getTemplateVars(Kwf_Component_Renderer_Abstract $renderer) { $ret = parent::getTemplateVars($renderer); $ret['linkTag'] = $ret['child']; return $ret; }
public function getTemplateVars() { $ret = parent::getTemplateVars(); $ret['linkTag'] = $ret['child']; return $ret; }