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


PHP Kwf_Component_NoCategoriesRoot类代码示例

本文整理汇总了PHP中Kwf_Component_NoCategoriesRoot的典型用法代码示例。如果您正苦于以下问题:PHP Kwf_Component_NoCategoriesRoot类的具体用法?PHP Kwf_Component_NoCategoriesRoot怎么用?PHP Kwf_Component_NoCategoriesRoot使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['page']['model'] = new Kwf_Model_FnF();
     $ret['generators']['directory'] = array('class' => 'Kwf_Component_Generator_Page_Static', 'component' => 'Kwf_Component_Generator_Count_Directory');
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Root.php

示例2: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['page']['model'] = 'Kwf_Component_Cache_UrlClearCache_PageTestModel';
     $ret['generators']['page']['component'] = array('empty' => 'Kwc_Basic_Empty_Component');
     return $ret;
 }
开发者ID:nsams,项目名称:koala-framework,代码行数:7,代码来源:Root.php

示例3: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     unset($ret['generators']['page']);
     $ret['generators']['page1'] = array('class' => 'Kwf_Component_Generator_Page_Static', 'component' => 'Kwf_Component_Cache_RendererDynamicUseViewCache_Page1_Component');
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Root.php

示例4: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['page']['model'] = 'Kwc_Basic_Link_PagesModel';
     $ret['generators']['page']['component'] = array('empty' => 'Kwc_Basic_Empty_Component', 'link' => 'Kwc_Basic_Link_Link_Component');
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Root.php

示例5: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['page']['model'] = 'Kwf_Component_Cache_ParentContentPageMove_Root_PagesModel';
     $ret['generators']['page']['component'] = array('c1' => 'Kwf_Component_Cache_ParentContentPageMove_Root_C1_Component', 'c2' => 'Kwf_Component_Cache_ParentContentPageMove_Root_C2_Component', 'c3' => 'Kwf_Component_Cache_ParentContentPageMove_Root_C3_Component');
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Component.php

示例6: getSettings

 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['generators']['page']['model'] = 'Kwf_Component_Cache_PageMove_Root_PagesModel';
     $ret['generators']['page']['component'] = array('c1' => 'Kwc_Basic_Empty_Component', 'c2' => 'Kwc_Basic_Empty_Component', 'c3' => 'Kwc_Basic_Empty_Component');
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:7,代码来源:Component.php

示例7: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     unset($ret['generators']);
     $ret['generators']['referer'] = array('component' => 'Kwc_Advanced_SearchEngineReferer_Referer_Component', 'class' => 'Kwf_Component_Generator_Static');
     $ret['generators']['referer2'] = array('component' => 'Kwc_Advanced_SearchEngineReferer_Referer2_Component', 'class' => 'Kwf_Component_Generator_Static');
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:8,代码来源:Root.php

示例8: getSettings

 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['generators'] = array();
     $ret['generators']['page1'] = array('class' => 'Kwf_Component_Generator_Page_Static', 'component' => 'Kwf_Component_Cache_ComponentLinkModifierCallback_Page1_Component');
     $ret['generators']['linkTarget'] = array('class' => 'Kwf_Component_Generator_Page_Static', 'component' => 'Kwf_Component_Cache_ComponentLinkModifierCallback_LinkTargetPage_Component');
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:8,代码来源:Component.php

示例9: getSettings

 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['generators']['ic'] = array('component' => 'Kwf_Component_Cache_Box_IcRoot_InheritContent_Component', 'class' => 'Kwf_Component_Generator_Box_Static', 'inherit' => true);
     $ret['generators']['page']['model'] = new Kwf_Model_FnF(array('data' => array(array('id' => 1, 'pos' => 1, 'visible' => true, 'name' => '1', 'filename' => '1', 'custom_filename' => false, 'parent_id' => 'root', 'component' => 'empty', 'is_home' => false, 'hide' => false, 'parent_subroot_id' => 'root'), array('id' => 2, 'pos' => 1, 'visible' => true, 'name' => '2', 'filename' => '2', 'custom_filename' => false, 'parent_id' => 1, 'component' => 'empty', 'is_home' => false, 'hide' => false, 'parent_subroot_id' => 'root'))));
     $ret['generators']['page']['component'] = array('empty' => 'Kwc_Basic_Empty_Component');
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:8,代码来源:Component.php

示例10: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['page']['model'] = 'Kwf_Component_Events_Pages_Model';
     $ret['generators']['page']['component'] = array('empty' => 'Kwc_Basic_None_Component', 'text' => 'Kwc_Basic_Html_Component');
     unset($ret['generators']['title']);
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:8,代码来源:Component.php

示例11: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['box'] = array('class' => 'Kwf_Component_Generator_Box_StaticSelect', 'component' => array('parentContent' => 'Kwc_Basic_ParentContent_Component', 'boxSelect' => 'Kwf_Component_Cache_ParentContent_RootBoxSelect_Box_Component'), 'inherit' => true, 'model' => new Kwf_Model_FnF(array('primaryKey' => 'component_id', 'data' => array(array('component_id' => '1-box', 'component' => 'boxSelect'), array('component_id' => '2-box', 'component' => 'parentContent')))));
     $ret['generators']['page']['model'] = new Kwf_Model_FnF(array('data' => array(array('id' => 1, 'pos' => 1, 'visible' => true, 'name' => '1', 'filename' => '1', 'custom_filename' => false, 'parent_id' => 'root', 'component' => 'empty', 'is_home' => false, 'hide' => false, 'parent_subroot_id' => 'root'), array('id' => 2, 'pos' => 1, 'visible' => true, 'name' => '2', 'filename' => '2', 'custom_filename' => false, 'parent_id' => 1, 'component' => 'empty', 'is_home' => false, 'hide' => false, 'parent_subroot_id' => 'root'))));
     $ret['generators']['page']['component'] = array('empty' => 'Kwc_Basic_Empty_Component');
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:8,代码来源:Component.php

示例12: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     unset($ret['generators']['page']);
     $ret['generators']['test'] = array('class' => 'Kwf_Component_Generator_Page_Static', 'component' => 'Kwf_Component_OutputReplacePlugin_TestComponent_Component');
     $ret['generators']['test2'] = array('class' => 'Kwf_Component_Generator_Page_Static', 'component' => 'Kwf_Component_OutputReplacePlugin_TestComponent_Component');
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:8,代码来源:Component.php

示例13: getTemplateVars

 public function getTemplateVars(Kwf_Component_Renderer_Abstract $renderer)
 {
     $ret = parent::getTemplateVars($renderer);
     for ($x = 1; $x <= 4; $x++) {
         $ret["p{$x}"] = Kwf_Component_Data_Root::getInstance()->getComponentById($x);
     }
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:8,代码来源:Component.php

示例14: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['amazon'] = array('component' => 'Kwc_Advanced_Amazon_Nodes_TestComponent', 'class' => 'Kwf_Component_Generator_Page_Static', 'name' => 'amazon');
     unset($ret['generators']['page']);
     unset($ret['generators']['title']);
     unset($ret['generators']['box']);
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:9,代码来源:Root.php

示例15: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['page']['component'] = array();
     $ret['generators']['page']['model'] = new Kwf_Model_FnF();
     $ret['generators']['directory'] = array('class' => 'Kwf_Component_Generator_Page_Static', 'component' => 'Kwc_Directories_AjaxViewTwoOnOnePage_Directory_Component');
     $ret['generators']['test'] = array('class' => 'Kwf_Component_Generator_Page_Static', 'component' => 'Kwc_Directories_AjaxViewTwoOnOnePage_Test_Component');
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:9,代码来源:Root.php


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