Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / examples / data / orderitem.php
1 <?php
2 $items = array(array(
3         'id'=>1,
4         'order_id'=>1,
5         'product'=>'Chair',
6         'price'=>13.43,
7         'quantity'=>1
8     ), array(
9         'id'=>2,
10         'order_id'=>1,
11         'product'=>'Stool',
12         'price'=>14.55,
13         'quantity'=>2
14     ), array(
15         'id'=>3,
16         'order_id'=>1,
17         'product'=>'Table',
18         'price'=>44.2,
19         'quantity'=>1
20     ),array(
21         'id'=>4,
22         'order_id'=>2,
23         'product'=>'Chair',
24         'price'=>13.43,
25         'quantity'=>3
26     ), array(
27         'id'=>5,
28         'order_id'=>2,
29         'product'=>'Stool',
30         'price'=>14.55,
31         'quantity'=>6
32     ), array(
33         'id'=>6,
34         'order_id'=>2,
35         'product'=>'Table',
36         'price'=>44.2,
37         'quantity'=>2
38     ), array(
39         'id'=>7,
40         'order_id'=>3,
41         'product'=>'Chair',
42         'price'=>13.43,
43         'quantity'=>1
44     ), array(
45         'id'=>8,
46         'order_id'=>3,
47         'product'=>'Stool',
48         'price'=>14.55,
49         'quantity'=>2
50     ),array(
51         'id'=>9,
52         'order_id'=>4,
53         'product'=>'Table',
54         'price'=>44.2,
55         'quantity'=>1
56     ), array(
57         'id'=>10,
58         'order_id'=>5,
59         'product'=>'Stool',
60         'price'=>14.55,
61         'quantity'=>2
62     ), array(
63         'id'=>11,
64         'order_id'=>5,
65         'product'=>'Table',
66         'price'=>44.2,
67         'quantity'=>2
68     ), array(
69         'id'=>12,
70         'order_id'=>6,
71         'product'=>'Chair',
72         'price'=>13.43,
73         'quantity'=>2
74     ), array(
75         'id'=>13,
76         'order_id'=>6,
77         'product'=>'Stool',
78         'price'=>14.55,
79         'quantity'=>4
80     ), array(
81         'id'=>14,
82         'order_id'=>6,
83         'product'=>'Table',
84         'price'=>44.2,
85         'quantity'=>1
86     )
87 );
88
89 echo json_encode($items);
90 ?>