public function getLinkDataAttributes() { $ret = parent::getLinkDataAttributes(); $config = array('componentId' => $this->_data->componentId, 'viewComponentId' => $this->_data->getChildComponent('-view')->componentId); $ret['kwc-view-ajax-filter'] = json_encode($config); return $ret; }
public function getLinkDataAttributes() { $ret = parent::getLinkDataAttributes(); $ret['kwc-lightbox'] = json_encode((object) $this->_getOptions()); return $ret; }