public function getTemplateVars(Kwf_Component_Renderer_Abstract $renderer) { $ret = parent::getTemplateVars($renderer); $ret['currentPrice'] = $this->getData()->chained->row->current_price; $ret['addToCart'] = $this->getData()->getChildComponent('-addToCart'); return $ret; }
public static function modifyItemData($item) { parent::modifyItemData($item); $item->title = $item->row->title; $item->teaser = $item->row->teaser; $item->date = $item->chained->row->date; }
public static function modifyItemData(Kwf_Component_Data $new) { parent::modifyItemData($new); $new->publish_date = $new->chained->row->publish_date; }
public static function modifyItemData(Kwf_Component_Data $new) { Kwc_Directories_Item_Detail_Trl_Component::modifyItemData($new); $new->start_date = $new->chained->row->start_date; $new->end_date = $new->chained->row->end_date; }