当前位置: 首页>>代码示例>>PHP>>正文


PHP Kwc_Abstract_Composite_Component::getSettings方法代码示例

本文整理汇总了PHP中Kwc_Abstract_Composite_Component::getSettings方法的典型用法代码示例。如果您正苦于以下问题:PHP Kwc_Abstract_Composite_Component::getSettings方法的具体用法?PHP Kwc_Abstract_Composite_Component::getSettings怎么用?PHP Kwc_Abstract_Composite_Component::getSettings使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Kwc_Abstract_Composite_Component的用法示例。


在下文中一共展示了Kwc_Abstract_Composite_Component::getSettings方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getSettings

 public static function getSettings()
 {
     $ret = array_merge(parent::getSettings(), array('componentName' => trlKwfStatic('Link Image'), 'componentIcon' => 'image'));
     $ret['generators']['child']['component']['image'] = 'Kwc_Basic_Image_Component';
     $ret['generators']['child']['component']['link'] = 'Kwc_Basic_LinkTag_Component';
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Component.php

示例2: getSettings

 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['generators']['child']['component'] = array('child' => 'Kwf_Component_Output_C2_Child_Component', 'childNoCache' => 'Kwf_Component_Output_C2_ChildNoCache_Component');
     $ret['contentWidth'] = 600;
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:7,代码来源:Component.php

示例3: getSettings

 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['generators']['child']['component']['paging'] = 'Kwf_Component_Output_Partial_Paging_Paging';
     $ret['contentWidth'] = 600;
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:7,代码来源:Component.php

示例4: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['child'] = array('class' => 'Kwf_Component_Generator_Static', 'component' => 'Kwf_Component_ContentWidth_Page_Child_Component');
     $ret['contentWidthSubtract'] = 10;
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Component.php

示例5: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_Abstract_Image_Model';
     $ret['dimensions'] = array('default' => array('width' => 300, 'height' => 200, 'cover' => true), 'fullWidth' => array('text' => trlKwfStatic('full width'), 'width' => self::CONTENT_WIDTH, 'height' => 0, 'cover' => true), 'original' => array('text' => trlKwfStatic('original')), 'custom' => array('text' => trlKwfStatic('user-defined'), 'width' => self::USER_SELECT, 'height' => self::USER_SELECT, 'cover' => true));
     $ret['imageLabel'] = trlKwfStatic('Image');
     $ret['maxResolution'] = null;
     $ret['pdfMaxWidth'] = 0;
     $ret['pdfMaxDpi'] = 150;
     $ret['editFilename'] = true;
     $ret['imageCaption'] = false;
     $ret['altText'] = true;
     $ret['allowBlank'] = true;
     $ret['showHelpText'] = false;
     $ret['useDataUrl'] = false;
     $ret['lazyLoadOutOfViewport'] = true;
     // Set to false to load image also when not in view
     $ret['flags']['hasFulltext'] = true;
     $ret['assetsAdmin']['dep'][] = 'KwfFormFile';
     $ret['assetsAdmin']['dep'][] = 'ExtFormTriggerField';
     $ret['assetsAdmin']['files'][] = 'kwf/Kwc/Abstract/Image/DimensionField.css';
     $ret['assetsAdmin']['files'][] = 'kwf/Kwc/Abstract/Image/DimensionField.js';
     $ret['assetsAdmin']['files'][] = 'kwf/Kwc/Abstract/Image/DimensionWindow.css';
     $ret['assetsAdmin']['files'][] = 'kwf/Kwc/Abstract/Image/DimensionWindow.js';
     $ret['assetsAdmin']['files'][] = 'kwf/Kwc/Abstract/Image/CropImage.js';
     $ret['assetsAdmin']['files'][] = 'kwf/Kwc/Abstract/Image/CropImage.css';
     $ret['assetsAdmin']['files'][] = 'kwf/Kwc/Abstract/Image/ImageUploadField.js';
     $ret['assetsAdmin']['files'][] = 'kwf/Kwc/Abstract/Image/ImageUploadField.scss';
     $ret['assetsAdmin']['files'][] = 'kwf/Kwf_js/Utils/Resizable.js';
     $ret['assetsAdmin']['files'][] = 'kwf/Kwc/Abstract/Image/ImageFile.js';
     $ret['assets']['dep'][] = 'KwfResponsiveImg';
     $ret['throwHasContentChangedOnRowColumnsUpdate'] = 'kwf_upload_id';
     $ret['defineWidth'] = false;
     return $ret;
 }
开发者ID:nsams,项目名称:koala-framework,代码行数:35,代码来源:Component.php

示例6: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['child']['component'] = array('child' => 'Kwf_Component_Output_C1_ChildChild_Component');
     $ret['contentWidth'] = 600;
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Component.php

示例7: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['child']['component'] = array('child' => 'Kwf_Component_Output_C1_ChildChild_Component');
     $ret['plugins'] = array('Kwf_Component_Output_Plugin_Plugin', 'Kwf_Component_Output_Plugin_Plugin');
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Component.php

示例8: getSettings

 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['generators']['child']['component']['form'] = 'Kwc_User_Register_Form_Component';
     $ret['forms'] = array('general');
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:7,代码来源:Component.php

示例9: getSettings

 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['flags']['hasHeaderIncludeCode'] = true;
     $ret['flags']['hasInjectIntoRenderedHtml'] = true;
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:7,代码来源:Component.php

示例10: getSettings

 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['generators']['child']['component']['list1'] = 'Kwc_Directories_AjaxViewTwoOnOnePage_List1_Component';
     $ret['generators']['child']['component']['list2'] = 'Kwc_Directories_AjaxViewTwoOnOnePage_List2_Component';
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:7,代码来源:Component.php

示例11: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['child']['component']['success'] = 'Kwc_Form_Success_Component';
     $ret['generators']['child']['component']['header'] = null;
     $ret['generators']['child']['component']['footer'] = null;
     $ret['componentName'] = trlKwfStatic('Form');
     $ret['placeholder']['submitButton'] = trlKwfStatic('Submit');
     $ret['placeholder']['error'] = trlKwfStatic('An error has occurred');
     $ret['decorator'] = 'Kwc_Form_Decorator_Label';
     $ret['viewCache'] = true;
     $ret['method'] = 'post';
     $plugins = array('useViewCache' => 'Kwc_Form_UseViewCachePlugin');
     if (isset($ret['plugins'])) {
         $ret['plugins'] = array_merge($ret['plugins'], $plugins);
     } else {
         $ret['plugins'] = $plugins;
     }
     $ret['assetsDefer']['dep'][] = 'KwcFrontendForm';
     $ret['useAjaxRequest'] = true;
     $ret['hideFormOnSuccess'] = true;
     // works only when useAjaxRequest==true
     $ret['flags']['processInput'] = true;
     $ret['flags']['requestHttps'] = true;
     $ret['extConfig'] = 'Kwf_Component_Abstract_ExtConfig_None';
     $ret['buttonClass'] = 'kwfButtonFlat';
     //um standard styles aus dem Kwf zu umgehen
     $ret['errorStyle'] = null;
     //default from config.ini: kwc.form.errorStyle
     $ret['cssClass'] = 'default';
     return $ret;
 }
开发者ID:nsams,项目名称:koala-framework,代码行数:32,代码来源:Component.php

示例12: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['rootElementClass'] = 'kwfUp-webStandard';
     $ret['placeholder']['linkText'] = trlKwfStatic('Home');
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Component.php

示例13: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['rootElementClass'] = 'kwfUp-webStandard';
     $ret['flags']['hasHeaderIncludeCode'] = true;
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Component.php

示例14: getSettings

 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['ownModel'] = 'Kwc_Abstract_Image_Model';
     $ret['dimensions'] = array('default' => array('width' => 300, 'height' => 200, 'cover' => false), 'fullWidth' => array('text' => trlKwfStatic('full width'), 'width' => Kwf_Form_Field_Image_UploadField::CONTENT_WIDTH, 'height' => 0, 'cover' => true), 'original' => array('text' => trlKwfStatic('original')), 'custom' => array('text' => trlKwfStatic('user-defined'), 'width' => Kwf_Form_Field_Image_UploadField::USER_SELECT, 'height' => Kwf_Form_Field_Image_UploadField::USER_SELECT, 'cover' => true));
     $ret['imageLabel'] = trlKwfStatic('Image');
     $ret['maxResolution'] = null;
     $ret['pdfMaxWidth'] = 0;
     $ret['pdfMaxDpi'] = 150;
     $ret['editFilename'] = true;
     $ret['imageCaption'] = false;
     $ret['altText'] = true;
     $ret['titleText'] = true;
     $ret['allowBlank'] = true;
     $ret['showHelpText'] = false;
     $ret['useDataUrl'] = false;
     $ret['lazyLoadOutOfViewport'] = true;
     // Set to false to load image also when not in view
     $ret['loadedAnimationClass'] = 'webImageLoadedAnimation';
     $ret['imgCssClass'] = '';
     $ret['flags']['hasFulltext'] = true;
     $ret['assetsAdmin']['dep'][] = 'KwfImageUpload';
     $ret['throwHasContentChangedOnRowColumnsUpdate'] = 'kwf_upload_id';
     $ret['outputImgTag'] = true;
     $ret['defineWidth'] = false;
     $ret['maxWidthImageWidth'] = true;
     $ret['inlineTags'] = false;
     $ret['imageCompressionQuality'] = 80;
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:30,代码来源:Component.php

示例15: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['plugins']['password'] = 'Kwf_Component_Plugin_Password_Component';
     $ret['generators']['child']['component']['downloadTag'] = 'Kwc_Basic_DownloadTagBehindLogin_TestComponent';
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Download.php


注:本文中的Kwc_Abstract_Composite_Component::getSettings方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。