protected function _getConfig() { $ret = parent::_getConfig(); $ret['list']['xtype'] = 'kwc.columns.list'; $ret['list']['controllerUrl'] = $this->getControllerUrl(); $ret['form'] = $this->_getStandardConfig('kwf.autoform', 'Settings', trlKwf('Settings'), new Kwf_Asset('wrench')); return $ret; }
protected function _getConfig() { $ret = parent::_getConfig(); $cacheId = 'extConfig_multiFileUpload_' . $this->_class; $multiFileUpload = Kwf_Cache_SimpleStatic::fetch($cacheId, $success); if (!$success) { $multiFileUpload = false; $form = Kwc_Abstract_Form::createChildComponentForm($this->_class, 'child'); if ($form && ($field = $this->_getFileUploadField($form))) { $multiFileUpload = array('allowOnlyImages' => $field->getAllowOnlyImages(), 'maxResolution' => $field->getMaxResolution(), 'maxResolution' => $field->getMaxResolution(), 'fileSizeLimit' => $field->getFileSizeLimit()); } Kwf_Cache_SimpleStatic::add($cacheId, $multiFileUpload); } $ret['list']['multiFileUpload'] = $multiFileUpload; $ret['list']['maxEntries'] = Kwc_Abstract::getSetting($this->_class, 'maxEntries'); $ret['list']['maxEntriesErrorMessage'] = trlKwf("Can't create more than {0} entries.", $ret['list']['maxEntries']); return $ret; }
protected function _getConfig() { $ret = parent::_getConfig(); $ret['list']['xtype'] = 'kwc.List.childPages.teaser'; return $ret; }
protected function _getConfig() { $ret = parent::_getConfig(); $ret['list']['listWidth'] = 120; return $ret; }