public static function getSettings($param = null) { $ret = parent::getSettings($param); $ret['partialClass'] = 'Kwf_Component_Partial_Id'; $ret['placeholder']['noEntriesFound'] = false; return $ret; }
public function getPartialParams() { $ret = parent::getPartialParams(); $up = Kwf_Config::getValue('application.uniquePrefix'); if ($up) { $up = $up . '-'; } $ret['tpl'] = '<div class="' . $up . 'kwfViewAjaxItem">{content}</div>' . "\n"; return $ret; }
public function getTemplateVars() { $ret = parent::getTemplateVars(); $ret['options'] = $this->_getSetting('mapOptions'); if ($this->_getSearchForm()) { if (!Kwc_Abstract::getSetting($this->_getSearchForm()->componentClass, 'useAjaxRequest')) { throw new Kwf_Exception_NotYetImplemented(); } $ret['options']['searchFormComponentId'] = $this->_getSearchForm()->componentId; } $ret['options']['baseParams']['componentId'] = $this->getData()->componentId; $ret['options']['markers'] = Kwc_Admin::getInstance($this->getData()->componentClass)->getControllerUrl('Markers') . '/json-index'; return $ret; }
public function getTemplateVars(Kwf_Component_Renderer_Abstract $renderer) { $ret = parent::getTemplateVars($renderer); $ret['items'] = $this->_getItems(); return $ret; }
public function getPartialVars($partial, $nr, $info) { $ret = parent::getPartialVars($partial, $nr, $info); $ret['content'] = $ret['item']->getChildComponent('-content'); return $ret; }
class Kwc_Directories_List_View_ComponentNonPartial extends Kwc_Directories_List_View_Component { public function getTemplateVars() { $ret = parent::getTemplateVars(); $ret['items'] = $this->_getItems();
public static function getSettings() { $ret = parent::getSettings(); $ret['partialClass'] = 'Kwf_Component_Partial_Id'; return $ret; }
public function getPartialVars($partial, $nr, $info) { $ret = parent::getPartialVars($partial, $nr, $info); $ret['showPreviewImage'] = $this->_getSetting('showPreviewImage'); return $ret; }
public static function getSettings($param = null) { $ret = parent::getSettings($param); $ret['generators']['child']['component']['paging'] = 'Kwf_Component_Cache_Paging_Directory_View_Paging_Component'; return $ret; }
public function getPartialParams() { $ret = parent::getPartialParams(); $ret['tpl'] = '<div class="kwfViewAjaxItem {id}">{content}</div>' . "\n"; return $ret; }
public static function getSettings() { $ret = parent::getSettings(); $ret['viewCache'] = false; return $ret; }