You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
6.1 KiB

9 years ago
<?php
return array(
'tree' => array(
array('id' => '1','lft' => '1','rgt' => '50','depth' => '0','slug' => 'r1'),
array('id' => '2','lft' => '2','rgt' => '27','depth' => '1','slug' => 'n1'),
array('id' => '3','lft' => '28','rgt' => '29','depth' => '1','slug' => 'n2'),
array('id' => '4','lft' => '30','rgt' => '49','depth' => '1','slug' => 'n3'),
array('id' => '5','lft' => '3','rgt' => '10','depth' => '2','slug' => 'n11'),
array('id' => '6','lft' => '11','rgt' => '18','depth' => '2','slug' => 'n12'),
array('id' => '7','lft' => '19','rgt' => '26','depth' => '2','slug' => 'n13'),
array('id' => '8','lft' => '31','rgt' => '32','depth' => '2','slug' => 'n31'),
array('id' => '9','lft' => '33','rgt' => '40','depth' => '2','slug' => 'n32'),
array('id' => '10','lft' => '41','rgt' => '48','depth' => '2','slug' => 'n33'),
array('id' => '11','lft' => '4','rgt' => '5','depth' => '3','slug' => 'n111'),
array('id' => '12','lft' => '6','rgt' => '7','depth' => '3','slug' => 'n112'),
array('id' => '13','lft' => '8','rgt' => '9','depth' => '3','slug' => 'n113'),
array('id' => '14','lft' => '12','rgt' => '13','depth' => '3','slug' => 'n121'),
array('id' => '15','lft' => '14','rgt' => '15','depth' => '3','slug' => 'n122'),
array('id' => '16','lft' => '16','rgt' => '17','depth' => '3','slug' => 'n123'),
array('id' => '17','lft' => '20','rgt' => '21','depth' => '3','slug' => 'n131'),
array('id' => '18','lft' => '22','rgt' => '23','depth' => '3','slug' => 'n132'),
array('id' => '19','lft' => '24','rgt' => '25','depth' => '3','slug' => 'n133'),
array('id' => '20','lft' => '34','rgt' => '35','depth' => '3','slug' => 'n321'),
array('id' => '21','lft' => '36','rgt' => '37','depth' => '3','slug' => 'n322'),
array('id' => '22','lft' => '38','rgt' => '39','depth' => '3','slug' => 'n323'),
array('id' => '23','lft' => '42','rgt' => '43','depth' => '3','slug' => 'n331'),
array('id' => '24','lft' => '44','rgt' => '45','depth' => '3','slug' => 'n332'),
array('id' => '25','lft' => '46','rgt' => '47','depth' => '3','slug' => 'n333'),
),
'multiple_tree' => array(
array('id' => '1','tree' => '1','lft' => '1','rgt' => '78','depth' => '0','slug' => 'r1'),
array('id' => '2','tree' => '1','lft' => '2','rgt' => '27','depth' => '1','slug' => 'n1'),
array('id' => '3','tree' => '1','lft' => '28','rgt' => '29','depth' => '1','slug' => 'n2'),
array('id' => '4','tree' => '1','lft' => '30','rgt' => '77','depth' => '1','slug' => 'n3'),
array('id' => '5','tree' => '1','lft' => '3','rgt' => '10','depth' => '2','slug' => 'n11'),
array('id' => '6','tree' => '1','lft' => '11','rgt' => '18','depth' => '2','slug' => 'n12'),
array('id' => '7','tree' => '1','lft' => '19','rgt' => '26','depth' => '2','slug' => 'n13'),
array('id' => '8','tree' => '1','lft' => '31','rgt' => '32','depth' => '2','slug' => 'n31'),
array('id' => '9','tree' => '1','lft' => '33','rgt' => '68','depth' => '2','slug' => 'n32'),
array('id' => '10','tree' => '1','lft' => '69','rgt' => '76','depth' => '2','slug' => 'n33'),
array('id' => '11','tree' => '1','lft' => '4','rgt' => '5','depth' => '3','slug' => 'n111'),
array('id' => '12','tree' => '1','lft' => '6','rgt' => '7','depth' => '3','slug' => 'n112'),
array('id' => '13','tree' => '1','lft' => '8','rgt' => '9','depth' => '3','slug' => 'n113'),
array('id' => '14','tree' => '1','lft' => '12','rgt' => '13','depth' => '3','slug' => 'n121'),
array('id' => '15','tree' => '1','lft' => '14','rgt' => '15','depth' => '3','slug' => 'n122'),
array('id' => '16','tree' => '1','lft' => '16','rgt' => '17','depth' => '3','slug' => 'n123'),
array('id' => '17','tree' => '1','lft' => '20','rgt' => '21','depth' => '3','slug' => 'n131'),
array('id' => '18','tree' => '1','lft' => '22','rgt' => '23','depth' => '3','slug' => 'n132'),
array('id' => '19','tree' => '1','lft' => '24','rgt' => '25','depth' => '3','slug' => 'n133'),
array('id' => '20','tree' => '1','lft' => '34','rgt' => '35','depth' => '3','slug' => 'n321'),
array('id' => '21','tree' => '1','lft' => '36','rgt' => '37','depth' => '3','slug' => 'n322'),
array('id' => '22','tree' => '1','lft' => '66','rgt' => '67','depth' => '3','slug' => 'n323'),
array('id' => '23','tree' => '1','lft' => '70','rgt' => '71','depth' => '3','slug' => 'n331'),
array('id' => '24','tree' => '1','lft' => '72','rgt' => '73','depth' => '3','slug' => 'n332'),
array('id' => '25','tree' => '1','lft' => '74','rgt' => '75','depth' => '3','slug' => 'n333'),
array('id' => '26','tree' => '1','lft' => '38','rgt' => '65','depth' => '3','slug' => 'r2'),
array('id' => '27','tree' => '1','lft' => '39','rgt' => '48','depth' => '4','slug' => 'n1'),
array('id' => '28','tree' => '1','lft' => '49','rgt' => '50','depth' => '4','slug' => 'n2'),
array('id' => '29','tree' => '1','lft' => '51','rgt' => '54','depth' => '4','slug' => 'n3'),
array('id' => '30','tree' => '1','lft' => '55','rgt' => '64','depth' => '4','slug' => 'n4'),
array('id' => '31','tree' => '1','lft' => '40','rgt' => '41','depth' => '5','slug' => 'n11'),
array('id' => '32','tree' => '1','lft' => '42','rgt' => '43','depth' => '5','slug' => 'n12'),
array('id' => '33','tree' => '1','lft' => '44','rgt' => '45','depth' => '5','slug' => 'n13'),
array('id' => '34','tree' => '1','lft' => '46','rgt' => '47','depth' => '5','slug' => 'n14'),
array('id' => '35','tree' => '1','lft' => '52','rgt' => '53','depth' => '5','slug' => 'n31'),
array('id' => '36','tree' => '1','lft' => '56','rgt' => '57','depth' => '5','slug' => 'n41'),
array('id' => '37','tree' => '1','lft' => '58','rgt' => '59','depth' => '5','slug' => 'n42'),
array('id' => '38','tree' => '1','lft' => '60','rgt' => '61','depth' => '5','slug' => 'n43'),
array('id' => '39','tree' => '1','lft' => '62','rgt' => '63','depth' => '5','slug' => 'n44'),
)
);