Advertisement
Lartak

Untitled

Mar 19th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.85 KB | None | 0 0
  1. array(5) {
  2.   [0]=>
  3.   object(stdClass)#13 (3) {
  4.    ["id"]=>
  5.     string(1) "1"
  6.     ["name"]=>
  7.     string(11) "Catégorie 1"
  8.     ["childrens"]=>
  9.     array(2) {
  10.       [0]=>
  11.       object(stdClass)#19 (2) {
  12.        ["id"]=>
  13.         string(1) "6"
  14.         ["name"]=>
  15.         string(16) "Sous-catégorie 1"
  16.       }
  17.       [1]=>
  18.       object(stdClass)#20 (2) {
  19.        ["id"]=>
  20.         string(1) "7"
  21.         ["name"]=>
  22.         string(16) "Sous-catégorie 2"
  23.       }
  24.     }
  25.   }
  26.   [1]=>
  27.   object(stdClass)#14 (3) {
  28.    ["id"]=>
  29.     string(1) "2"
  30.     ["name"]=>
  31.     string(11) "Catégorie 2"
  32.     ["childrens"]=>
  33.     array(2) {
  34.       [0]=>
  35.       object(stdClass)#21 (2) {
  36.        ["id"]=>
  37.         string(1) "8"
  38.         ["name"]=>
  39.         string(16) "Sous-catégorie 3"
  40.       }
  41.       [1]=>
  42.       object(stdClass)#22 (2) {
  43.        ["id"]=>
  44.         string(1) "9"
  45.         ["name"]=>
  46.         string(16) "Sous-catégorie 4"
  47.       }
  48.     }
  49.   }
  50.   [2]=>
  51.   object(stdClass)#15 (3) {
  52.    ["id"]=>
  53.     string(1) "3"
  54.     ["name"]=>
  55.     string(11) "Catégorie 3"
  56.     ["childrens"]=>
  57.     array(2) {
  58.       [0]=>
  59.       object(stdClass)#23 (2) {
  60.        ["id"]=>
  61.         string(2) "10"
  62.         ["name"]=>
  63.         string(16) "Sous-catégorie 5"
  64.       }
  65.       [1]=>
  66.       object(stdClass)#24 (2) {
  67.        ["id"]=>
  68.         string(2) "11"
  69.         ["name"]=>
  70.         string(16) "Sous-catégorie 6"
  71.       }
  72.     }
  73.   }
  74.   [3]=>
  75.   object(stdClass)#16 (2) {
  76.    ["id"]=>
  77.     string(1) "4"
  78.     ["name"]=>
  79.     string(11) "Catégorie 4"
  80.   }
  81.   [4]=>
  82.   object(stdClass)#17 (3) {
  83.    ["id"]=>
  84.     string(1) "5"
  85.     ["name"]=>
  86.     string(11) "Catégorie 5"
  87.     ["childrens"]=>
  88.     array(1) {
  89.       [0]=>
  90.       object(stdClass)#25 (2) {
  91.        ["id"]=>
  92.         string(2) "12"
  93.         ["name"]=>
  94.         string(16) "Sous-catégorie 7"
  95.       }
  96.     }
  97.   }
  98. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement