forked from koala-framework/koala-framework
/
PagesModel.php
30 lines (24 loc) · 1.99 KB
/
PagesModel.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
class Kwc_Trl_FirstChildPage_Category_PagesModel extends Kwf_Model_FnF
{
public function __construct()
{
$config['data'] = array(
array('id'=>1, 'pos'=>1, 'visible'=>true, 'name'=>'Foo1', 'filename' => 'foo1', 'custom_filename' => false,
'parent_id'=>'root-master-cat1', 'component'=>'firstChildPage', 'is_home'=>false, 'hide'=>false, 'parent_subroot_id' => 'root-master'),
array('id'=>2, 'pos'=>2, 'visible'=>true, 'name'=>'Foo2', 'filename' => 'foo2', 'custom_filename' => false,
'parent_id'=>'1', 'component'=>'none', 'is_home'=>false, 'hide'=>false, 'parent_subroot_id' => 'root-master'),
array('id'=>3, 'pos'=>3, 'visible'=>true, 'name'=>'Foo3', 'filename' => 'foo3', 'custom_filename' => false,
'parent_id'=>'1', 'component'=>'none', 'is_home'=>false, 'hide'=>false, 'parent_subroot_id' => 'root-master'),
array('id'=>4, 'pos'=>1, 'visible'=>true, 'name'=>'Foo4', 'filename' => 'foo4', 'custom_filename' => false,
'parent_id'=>'root-master-cat1', 'component'=>'firstChildPage', 'is_home'=>false, 'hide'=>false, 'parent_subroot_id' => 'root-master'),
array('id'=>5, 'pos'=>1, 'visible'=>true, 'name'=>'Foo5', 'filename' => 'foo5', 'custom_filename' => false,
'parent_id'=>'root-master-cat1', 'component'=>'firstChildPage', 'is_home'=>false, 'hide'=>false, 'parent_subroot_id' => 'root-master'),
array('id'=>6, 'pos'=>1, 'visible'=>true, 'name'=>'Foo6', 'filename' => 'foo6', 'custom_filename' => false,
'parent_id'=>'5', 'component'=>'firstChildPage', 'is_home'=>false, 'hide'=>false, 'parent_subroot_id' => 'root-master'),
array('id'=>7, 'pos'=>1, 'visible'=>true, 'name'=>'Foo7', 'filename' => 'foo7', 'custom_filename' => false,
'parent_id'=>'6', 'component'=>'none', 'is_home'=>false, 'hide'=>false, 'parent_subroot_id' => 'root-master'),
);
parent::__construct($config);
}
}