e9471593e9409fb4eb616a0f28aa3f5a8fc99328
[roojs1] / docs / symbols / Roo.data.MemoryProxy.json
1 {
2   "name" : "Roo.data.MemoryProxy",
3   "augments" : [
4   ],
5   "desc" : "An implementation of Roo.data.DataProxy that simply passes the data specified in its constructor\nto the Reader when its load method is called.",
6   "isSingleton" : false,
7   "isStatic" : false,
8   "isBuiltin" : false,
9   "memberOf" : "MemoryProxy",
10   "example" : "",
11   "deprecated" : "",
12   "since" : "",
13   "see" : "",
14   "params" : [
15     {
16       "name" : "data",
17       "type" : "Object",
18       "desc" : "The data object which the Reader uses to construct a block of Roo.data.Records.",
19       "isOptional" : false
20     }
21   ],
22   "returns" : [
23   ],
24   "config" : [
25   ],
26   "methods" : [
27     {
28       "name" : "load",
29       "desc" : "Load data from the requested source (in this case an in-memory\ndata object passed to the constructor), read the data object into\na block of Roo.data.Records using the passed Roo.data.DataReader implementation, and\nprocess that block using the passed callback.",
30       "isStatic" : false,
31       "isConstructor" : false,
32       "isPrivate" : false,
33       "memberOf" : "Roo.data.MemoryProxy",
34       "example" : "",
35       "deprecated" : "",
36       "since" : "",
37       "see" : "",
38       "params" : [
39         {
40           "name" : "params",
41           "type" : "Object",
42           "desc" : "This parameter is not used by the MemoryProxy class.",
43           "isOptional" : false
44         },
45         {
46           "name" : "reader",
47           "type" : "Roo.data.DataReader",
48           "desc" : "The Reader object which converts the data\nobject into a block of Roo.data.Records.",
49           "isOptional" : false
50         },
51         {
52           "name" : "callback",
53           "type" : "Function",
54           "desc" : "The function into which to pass the block of Roo.data.records.\nThe function must be passed <ul>\n<li>The Record block object</li>\n<li>The \"arg\" argument from the load function</li>\n<li>A boolean success indicator</li>\n</ul>",
55           "isOptional" : false
56         },
57         {
58           "name" : "scope",
59           "type" : "Object",
60           "desc" : "The scope in which to call the callback",
61           "isOptional" : false
62         },
63         {
64           "name" : "arg",
65           "type" : "Object",
66           "desc" : "An optional argument which is passed to the callback as its second parameter.",
67           "isOptional" : false
68         }
69       ],
70       "returns" : [
71       ]
72     }
73   ],
74   "events" : [
75   ]
76 }