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


PHP Kwc_Chained_Trl_Component::getSettings方法代码示例

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


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

示例1: getSettings

 public static function getSettings($masterComponentClass)
 {
     $ret = parent::getSettings($masterComponentClass);
     $ret['generators']['page']['class'] = 'Kwc_Root_Category_Trl_Generator';
     $ret['generators']['page']['model'] = 'Kwc_Root_Category_Trl_GeneratorModel';
     return $ret;
 }
开发者ID:nsams,项目名称:koala-framework,代码行数:7,代码来源:Component.php

示例2: getSettings

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

示例3: getSettings

 public static function getSettings($masterComponent)
 {
     $ret = parent::getSettings($masterComponent);
     $ret['ownModel'] = new Kwf_Model_FnF(array('primaryKey' => 'component_id'));
     $ret['componentName'] = 'Test Trl';
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Component.php

示例4: getSettings

 public static function getSettings($masterComponentClass)
 {
     $ret = parent::getSettings($masterComponentClass);
     $ret['contentSender'] = 'Kwc_Basic_ImageEnlarge_EnlargeTag_ImagePage_Trl_ContentSender';
     $ret['assets']['dep'][] = 'KwfResponsiveImg';
     return $ret;
 }
开发者ID:nsams,项目名称:koala-framework,代码行数:7,代码来源:Component.php

示例5: getSettings

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

示例6: getSettings

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

示例7: getSettings

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

示例8: getSettings

 public static function getSettings($masterComponentClass)
 {
     $ret = parent::getSettings($masterComponentClass);
     $ret['extConfig'] = 'Kwf_Component_Abstract_ExtConfig_Form';
     $ret['ownModel'] = 'Kwf_Component_FieldModel';
     $ret['throwHasContentChangedOnRowColumnsUpdate'] = 'url';
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:8,代码来源:Component.php

示例9: getSettings

 public static function getSettings($masterComponentClass = null)
 {
     $ret = parent::getSettings($masterComponentClass);
     $ret['componentIcon'] = 'page';
     $ret['generators']['paragraphs']['class'] = 'Kwc_Paragraphs_Trl_Generator';
     $ret['childModel'] = 'Kwc_Paragraphs_Trl_Model';
     $ret['extConfig'] = 'Kwc_Paragraphs_Trl_ExtConfig';
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:9,代码来源:Component.php

示例10: getSettings

 public static function getSettings($masterComponentClass)
 {
     $ret = parent::getSettings($masterComponentClass);
     $ret['ownModel'] = 'Kwf_Component_FieldModel';
     $ret['flags']['formField'] = true;
     $ret['viewCache'] = false;
     $ret['extConfig'] = 'Kwf_Component_Abstract_ExtConfig_Form';
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:9,代码来源:Component.php

示例11: getSettings

 public static function getSettings($masterComponentClass)
 {
     $ret = parent::getSettings($masterComponentClass);
     $ret['viewCache'] = false;
     $ret['ownModel'] = 'Kwf_Component_FieldModel';
     $ret['hasVisible'] = false;
     //set to true if exactly one form exists in child and visible checkbox should be added by InheritContent_Trl
     $ret['editComponents'] = array('child');
     $ret['extConfig'] = 'Kwc_Box_InheritContent_Trl_ExtConfig';
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:11,代码来源:Component.php

示例12: getSettings

 public static function getSettings($masterComponentClass)
 {
     $ret = parent::getSettings($masterComponentClass);
     $ret['componentIcon'] = 'page';
     $ret['generators']['child']['class'] = 'Kwc_Abstract_List_Trl_Generator';
     $ret['childModel'] = 'Kwc_Abstract_List_Trl_Model';
     $ret['assetsAdmin']['files'][] = 'kwf/Kwc/Abstract/List/Trl/FullSizeEditPanel.js';
     $ret['assetsAdmin']['dep'][] = 'KwfAutoGrid';
     $ret['assetsAdmin']['dep'][] = 'KwfComponent';
     $ret['extConfig'] = 'Kwc_Abstract_List_Trl_ExtConfigList';
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:12,代码来源:Component.php

示例13: getSettings

 public static function getSettings($masterComponentClass)
 {
     $ret = parent::getSettings($masterComponentClass);
     $ret['viewCache'] = false;
     $ret['ownModel'] = 'Kwf_Component_FieldModel';
     $childConfig = Kwc_Admin::getInstance($ret['generators']['child']['component']['child'])->getExtConfig();
     if (array_keys($childConfig) == array('form')) {
         $ret['hasVisible'] = true;
         $ret['editComponents'] = array();
     } else {
         $ret['hasVisible'] = false;
         $ret['editComponents'] = array('child');
     }
     $ret['extConfig'] = 'Kwc_Box_InheritContent_Trl_ExtConfig';
     return $ret;
 }
开发者ID:nsams,项目名称:koala-framework,代码行数:16,代码来源:Component.php

示例14: getSettings

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

示例15: getSettings

 public static function getSettings($masterComponentClass = null)
 {
     $ret = parent::getSettings($masterComponentClass);
     $ret['ownModel'] = new Kwf_Model_FnF(array('primaryKey' => 'component_id'));
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:6,代码来源:Component.php


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