コード例 #1
0
 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;
 }
コード例 #2
0
ファイル: Root.php プロジェクト: nsams/koala-framework
 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;
 }
コード例 #3
0
 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;
 }
コード例 #4
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['page']['model'] = new Kwf_Model_FnF(array('data' => array(array('id' => 1, 'pos' => 1, 'visible' => true, 'name' => 'Home', 'filename' => 'home', 'custom_filename' => false, 'parent_id' => 'root', 'component' => 'empty', 'is_home' => true, 'category' => 'main', 'hide' => false, 'parent_subroot_id' => 'root'), array('id' => 2, 'pos' => 1, 'visible' => true, 'name' => 'Home', 'filename' => 'home', 'custom_filename' => false, 'parent_id' => 1, 'component' => 'empty', 'is_home' => true, 'category' => 'main', 'hide' => false, 'parent_subroot_id' => 'root'))));
     $ret['generators']['page']['component'] = array('empty' => 'Kwc_Basic_None_Component');
     return $ret;
 }
コード例 #5
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     unset($ret['generators']['page']);
     $ret['generators']['static'] = array('class' => 'Kwf_Component_Generator_Static', 'component' => 'Kwf_Component_Generator_Plugin_Static', 'name' => 'Static');
     return $ret;
 }
コード例 #6
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     unset($ret['generators']['page']);
     $ret['generators']['page'] = array('class' => 'Kwf_Component_Generator_Page_Static', 'component' => 'Kwf_Component_Generator_RecursiveTable2_Table');
     return $ret;
 }
コード例 #7
0
 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;
 }
コード例 #8
0
 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;
 }
コード例 #9
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['page']['model'] = 'Kwf_Component_Cache_ProcessInput_PageTestModel';
     $ret['generators']['page']['component'] = array('empty' => 'Kwc_Basic_Empty_Component', 'containsWithProcessInput' => 'Kwf_Component_Cache_ProcessInput_ContainsWithProcessInput_Component', 'withProcessInput' => 'Kwf_Component_Cache_ProcessInput_WithProcessInput_Component', 'paragraphs' => 'Kwf_Component_Cache_ProcessInput_Paragraphs_Component');
     return $ret;
 }
コード例 #10
0
 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;
 }
コード例 #11
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['page']['model'] = 'Kwf_Component_DependingOnRows_PagesModel';
     $ret['generators']['page']['component'] = array('test' => 'Kwf_Component_DependingOnRows_TestComponent_Component', 'empty' => 'Kwc_Basic_None_Component');
     return $ret;
 }
コード例 #12
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     unset($ret['generators']['page']);
     $ret['generators']['table'] = array('class' => 'Kwf_Component_Generator_Table', 'component' => 'Kwc_Basic_None_Component', 'model' => new Kwf_Model_FnF(array('data' => array(array('id' => 1, 'component_id' => 'root'), array('id' => 2, 'component_id' => 'root')))));
     return $ret;
 }
コード例 #13
0
 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;
 }
コード例 #14
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     unset($ret['generators']['page']);
     $ret['generators']['box'] = array('class' => 'Kwf_Component_Generator_Box_Static', 'component' => 'Kwc_Basic_None_Component', 'inherit' => true);
     $ret['generators']['page'] = array('class' => 'Kwf_Component_Generator_Page_Static', 'component' => 'Kwf_Component_Generator_InheritNotFromPage_Page', 'name' => 'Static');
     return $ret;
 }
コード例 #15
0
 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;
 }
コード例 #16
0
 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;
 }
コード例 #17
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['page']['model'] = new Kwf_Model_FnF();
     $ret['generators']['page']['component'] = array('empty' => 'Kwc_Basic_None_Component');
     $ret['generators']['static'] = array('class' => 'Kwf_Component_Generator_Page_Static', 'component' => 'Kwf_Component_Generator_DbId_Static', 'name' => 'Static');
     return $ret;
 }
コード例 #18
0
 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;
 }
コード例 #19
0
 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;
 }
コード例 #20
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['dir'] = array('component' => 'Kwf_Component_Cache_Paging_Directory_Component', 'class' => 'Kwf_Component_Generator_Page_Static');
     unset($ret['generators']['page']);
     unset($ret['generators']['title']);
     return $ret;
 }
コード例 #21
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['box'] = array('class' => 'Kwf_Component_Generator_Box_StaticSelect', 'component' => array('parentContent' => 'Kwc_Basic_ParentContent_Component', 'box' => 'Kwf_Component_Cache_CrossPageClearCacheRecursiveContentChanged_Box_Component'), 'model' => 'Kwf_Component_Cache_CrossPageClearCacheRecursiveContentChanged_StaticSelectModel', 'inherit' => true);
     $ret['generators']['page']['model'] = 'Kwf_Component_Cache_CrossPageClearCacheRecursiveContentChanged_PagesModel';
     $ret['generators']['page']['component'] = array('empty' => 'Kwc_Basic_Empty_Component');
     return $ret;
 }
コード例 #22
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['box']['component']['box'] = 'Kwf_Component_Cache_ParentContent_RootAlternative_Box_Component';
     $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_subroot_id' => 'root', 'parent_id' => 'root', 'component' => 'empty', 'is_home' => false, 'hide' => false), array('id' => 2, 'pos' => 1, 'visible' => true, 'name' => '2', 'filename' => '2', 'custom_filename' => false, 'parent_subroot_id' => 'root', 'parent_id' => 1, 'component' => 'empty', 'is_home' => false, 'hide' => false))));
     $ret['generators']['page']['component'] = array('empty' => 'Kwc_Basic_Empty_Component');
     return $ret;
 }
コード例 #23
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     unset($ret['generators']['page']);
     unset($ret['generators']['box']);
     $ret['generators']['static'] = array('class' => 'Kwf_Component_Generator_Static', 'component' => 'Kwf_Component_Generator_Indirect_Flag');
     return $ret;
 }
コード例 #24
0
 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;
 }
コード例 #25
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     unset($ret['generators']['page']);
     $ret['generators']['table'] = array('class' => 'Kwf_Component_Generator_Table', 'component' => 'Kwf_Component_Generator_RecursiveTable_Child', 'nameColumn' => 'id', 'model' => new Kwf_Model_FnF(array('data' => array(array('id' => 1, 'component_id' => 'root', 'filename' => 'table')))));
     $ret['generators']['static'] = array('class' => 'Kwf_Component_Generator_Static', 'component' => 'Kwf_Component_Generator_RecursiveTable_Static');
     return $ret;
 }
コード例 #26
0
 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;
 }
コード例 #27
0
 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;
 }
コード例 #28
0
 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;
 }
コード例 #29
0
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['generators']['child'] = array('component' => 'Kwc_Basic_Empty_Component', 'class' => 'Kwf_Component_Generator_Page_Static');
     $ret['generators']['box'] = array('component' => 'Kwf_Component_Cache_Box_Root_Box_Component', 'class' => 'Kwf_Component_Generator_Box_Static', 'inherit' => true);
     $ret['generators']['boxUnique'] = array('component' => 'Kwf_Component_Cache_Box_Root_Box_Component', 'class' => 'Kwf_Component_Generator_Box_Static', 'inherit' => true, 'unique' => true);
     unset($ret['generators']['page']);
     return $ret;
 }
コード例 #30
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['page']['model'] = 'Kwc_Composite_ImagesEnlarge_PageTestModel';
     $ret['generators']['page']['component'] = array('images' => 'Kwc_Composite_ImagesEnlarge_TestComponent');
     unset($ret['generators']['title']);
     unset($ret['generators']['box']);
     return $ret;
 }