enable grammerly in editor
[roojs1] / docs / symbols / Roo.data.MemoryProxy.json
1 {
2   "name" : "Roo.data.MemoryProxy",
3   "augments" : [],
4   "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.",
5   "isSingleton" : false,
6   "isStatic" : false,
7   "isBuiltin" : false,
8   "memberOf" : "MemoryProxy",
9   "example" : "",
10   "deprecated" : "",
11   "since" : "",
12   "see" : "",
13   "params" : [
14     {
15       "name" : "data",
16       "type" : "Object",
17       "desc" : "The data object which the Reader uses to construct a block of Roo.data.Records.",
18       "isOptional" : false
19     }
20   ],
21   "returns" : [],
22   "config" : [],
23   "methods" : [
24     {
25       "name" : "load",
26       "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.",
27       "isStatic" : false,
28       "isConstructor" : false,
29       "isPrivate" : false,
30       "memberOf" : "Roo.data.MemoryProxy",
31       "example" : "",
32       "deprecated" : "",
33       "since" : "",
34       "see" : "",
35       "params" : [
36         {
37           "name" : "params",
38           "type" : "Object",
39           "desc" : "This parameter is not used by the MemoryProxy class.",
40           "isOptional" : false
41         },
42         {
43           "name" : "reader",
44           "type" : "Roo.data.DataReader",
45           "desc" : "The Reader object which converts the data\nobject into a block of Roo.data.Records.",
46           "isOptional" : false
47         },
48         {
49           "name" : "callback",
50           "type" : "Function",
51           "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>",
52           "isOptional" : false
53         },
54         {
55           "name" : "scope",
56           "type" : "Object",
57           "desc" : "The scope in which to call the callback",
58           "isOptional" : false
59         },
60         {
61           "name" : "arg",
62           "type" : "Object",
63           "desc" : "An optional argument which is passed to the callback as its second parameter.",
64           "isOptional" : false
65         }
66       ],
67       "returns" : []
68     }
69   ],
70   "events" : []
71 }