1 Ext.data.JsonP.Ext_util_Filter({
3 "name": "Ext.util.Filter",
4 "doc": "<p>Represents a filter that can be applied to a <a href=\"#/api/Ext.util.MixedCollection\" rel=\"Ext.util.MixedCollection\" class=\"docClass\">MixedCollection</a>. Can either simply\nfilter on a property/value pair or pass in a filter function with custom logic. Filters are always used in the context\nof MixedCollections, though <a href=\"#/api/Ext.data.Store\" rel=\"Ext.data.Store\" class=\"docClass\">Store</a>s frequently create them when filtering and searching on their\nrecords. Example usage:</p>\n\n\n<pre><code>//set up a fictional MixedCollection containing a few people to filter on\nvar allNames = new Ext.util.MixedCollection();\nallNames.addAll([\n {id: 1, name: 'Ed', age: 25},\n {id: 2, name: 'Jamie', age: 37},\n {id: 3, name: 'Abe', age: 32},\n {id: 4, name: 'Aaron', age: 26},\n {id: 5, name: 'David', age: 32}\n]);\n\nvar ageFilter = new Ext.util.Filter({\n property: 'age',\n value : 32\n});\n\nvar longNameFilter = new Ext.util.Filter({\n filterFn: function(item) {\n return item.name.length > 4;\n }\n});\n\n//a new MixedCollection with the 3 names longer than 4 characters\nvar longNames = allNames.filter(longNameFilter);\n\n//a new MixedCollection with the 2 people of age 24:\nvar youngFolk = allNames.filter(ageFilter);\n</code></pre>\n\n",
9 "alternateClassNames": [
21 "member": "Ext.util.Filter",
23 "doc": "<p>True to allow any match - no regex start/end line anchors will be added. Defaults to false</p>\n",
25 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Filter.js",
27 "html_filename": "Filter.html",
28 "href": "Filter.html#Ext-util-Filter-cfg-anyMatch"
32 "name": "caseSensitive",
33 "member": "Ext.util.Filter",
35 "doc": "<p>True to make the regex case sensitive (adds 'i' switch to regex). Defaults to false.</p>\n",
37 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Filter.js",
39 "html_filename": "Filter.html",
40 "href": "Filter.html#Ext-util-Filter-cfg-caseSensitive"
45 "member": "Ext.util.Filter",
47 "doc": "<p>True to force exact match (^ and $ characters added to the regex). Defaults to false.\nIgnored if anyMatch is true.</p>\n",
49 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Filter.js",
51 "html_filename": "Filter.html",
52 "href": "Filter.html#Ext-util-Filter-cfg-exactMatch"
57 "member": "Ext.util.Filter",
59 "doc": "<p>A custom filter function which is passed each item in the <a href=\"#/api/Ext.util.MixedCollection\" rel=\"Ext.util.MixedCollection\" class=\"docClass\">Ext.util.MixedCollection</a>\nin turn. Should return true to accept each item or false to reject it</p>\n",
61 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Filter.js",
63 "html_filename": "Filter.html",
64 "href": "Filter.html#Ext-util-Filter-cfg-filterFn",
65 "shortDoc": "A custom filter function which is passed each item in the Ext.util.MixedCollection\nin turn. Should return true to acc..."
70 "member": "Ext.util.Filter",
72 "doc": "<p>The property to filter on. Required unless a <a href=\"#/api/Ext.util.Filter--filter\" rel=\"Ext.util.Filter--filter\" class=\"docClass\">filter</a> is passed</p>\n",
74 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Filter.js",
76 "html_filename": "Filter.html",
77 "href": "Filter.html#Ext-util-Filter-cfg-property"
82 "member": "Ext.util.Filter",
84 "doc": "<p>Optional root property. This is mostly useful when filtering a Store, in which case we set the\nroot to 'data' to make the filter pull the <a href=\"#/api/Ext.util.Filter-cfg-property\" rel=\"Ext.util.Filter-cfg-property\" class=\"docClass\">property</a> out of the data object of each item</p>\n",
86 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Filter.js",
88 "html_filename": "Filter.html",
89 "href": "Filter.html#Ext-util-Filter-cfg-root",
90 "shortDoc": "Optional root property. This is mostly useful when filtering a Store, in which case we set the\nroot to 'data' to make..."
97 "member": "Ext.util.Filter",
103 "doc": "<p>Config object</p>\n",
113 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Filter.js",
115 "html_filename": "Filter.html",
116 "href": "Filter.html#Ext-util-Filter-method-constructor",
126 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Filter.js",
128 "html_filename": "Filter.html",
129 "href": "Filter.html#Ext-util-Filter",