X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/output/Ext.util.Filter.js diff --git a/docs/output/Ext.util.Filter.js b/docs/output/Ext.util.Filter.js index cea2e696..9c21c959 100644 --- a/docs/output/Ext.util.Filter.js +++ b/docs/output/Ext.util.Filter.js @@ -1,149 +1,188 @@ Ext.data.JsonP.Ext_util_Filter({ - "tagname": "class", - "name": "Ext.util.Filter", - "doc": "

Represents a filter that can be applied to a MixedCollection. 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 Stores frequently create them when filtering and searching on their\nrecords. Example usage:

\n\n\n
//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
\n\n", - "extends": "Object", - "mixins": [ - - ], - "alternateClassNames": [ + "allMixins": [ ], - "xtype": null, - "author": null, + "deprecated": null, "docauthor": null, - "singleton": false, - "private": false, - "cfg": [ - { - "tagname": "cfg", - "name": "anyMatch", - "member": "Ext.util.Filter", - "type": "Boolean", - "doc": "

True to allow any match - no regex start/end line anchors will be added. Defaults to false

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Filter.js", - "linenr": 53, - "html_filename": "Filter.html", - "href": "Filter.html#Ext-util-Filter-cfg-anyMatch" - }, - { - "tagname": "cfg", - "name": "caseSensitive", - "member": "Ext.util.Filter", - "type": "Boolean", - "doc": "

True to make the regex case sensitive (adds 'i' switch to regex). Defaults to false.

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Filter.js", - "linenr": 64, - "html_filename": "Filter.html", - "href": "Filter.html#Ext-util-Filter-cfg-caseSensitive" - }, - { - "tagname": "cfg", - "name": "exactMatch", - "member": "Ext.util.Filter", - "type": "Boolean", - "doc": "

True to force exact match (^ and $ characters added to the regex). Defaults to false.\nIgnored if anyMatch is true.

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Filter.js", - "linenr": 58, - "html_filename": "Filter.html", - "href": "Filter.html#Ext-util-Filter-cfg-exactMatch" - }, - { - "tagname": "cfg", - "name": "filterFn", - "member": "Ext.util.Filter", - "type": "Function", - "doc": "

A custom filter function which is passed each item in the Ext.util.MixedCollection\nin turn. Should return true to accept each item or false to reject it

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Filter.js", - "linenr": 48, - "html_filename": "Filter.html", - "href": "Filter.html#Ext-util-Filter-cfg-filterFn", - "shortDoc": "A custom filter function which is passed each item in the Ext.util.MixedCollection\nin turn. Should return true to acc..." - }, - { - "tagname": "cfg", - "name": "property", - "member": "Ext.util.Filter", - "type": "String", - "doc": "

The property to filter on. Required unless a filter is passed

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Filter.js", - "linenr": 44, - "html_filename": "Filter.html", - "href": "Filter.html#Ext-util-Filter-cfg-property" - }, - { - "tagname": "cfg", - "name": "root", - "member": "Ext.util.Filter", - "type": "String", - "doc": "

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 property out of the data object of each item

\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Filter.js", - "linenr": 69, - "html_filename": "Filter.html", - "href": "Filter.html#Ext-util-Filter-cfg-root", - "shortDoc": "Optional root property. This is mostly useful when filtering a Store, in which case we set the\nroot to 'data' to make..." - } - ], - "method": [ - { - "tagname": "method", - "name": "Filter", - "member": "Ext.util.Filter", - "doc": "\n", - "params": [ - { - "type": "Object", - "name": "config", - "doc": "

Config object

\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" + "members": { + "cfg": [ + { + "type": "Boolean", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Filter.html#Ext-util-Filter-cfg-anyMatch", + "shortDoc": "True to allow any match - no regex start/end line anchors will be added. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Filter.js", + "private": false, + "name": "anyMatch", + "owner": "Ext.util.Filter", + "doc": "

True to allow any match - no regex start/end line anchors will be added. Defaults to false

\n", + "linenr": 51, + "html_filename": "Filter.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Filter.js", - "linenr": 1, - "html_filename": "Filter.html", - "href": "Filter.html#Ext-util-Filter-method-constructor", - "shortDoc": "\n" - } - ], - "property": [ + { + "type": "Boolean", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Filter.html#Ext-util-Filter-cfg-caseSensitive", + "shortDoc": "True to make the regex case sensitive (adds 'i' switch to regex). ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Filter.js", + "private": false, + "name": "caseSensitive", + "owner": "Ext.util.Filter", + "doc": "

True to make the regex case sensitive (adds 'i' switch to regex). Defaults to false.

\n", + "linenr": 62, + "html_filename": "Filter.html" + }, + { + "type": "Boolean", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Filter.html#Ext-util-Filter-cfg-exactMatch", + "shortDoc": "True to force exact match (^ and $ characters added to the regex). ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Filter.js", + "private": false, + "name": "exactMatch", + "owner": "Ext.util.Filter", + "doc": "

True to force exact match (^ and $ characters added to the regex). Defaults to false.\nIgnored if anyMatch is true.

\n", + "linenr": 56, + "html_filename": "Filter.html" + }, + { + "type": "Function", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Filter.html#Ext-util-Filter-cfg-filterFn", + "shortDoc": "A custom filter function which is passed each item in the Ext.util.MixedCollection\nin turn. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Filter.js", + "private": false, + "name": "filterFn", + "owner": "Ext.util.Filter", + "doc": "

A custom filter function which is passed each item in the Ext.util.MixedCollection\nin turn. Should return true to accept each item or false to reject it

\n", + "linenr": 46, + "html_filename": "Filter.html" + }, + { + "type": "String", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Filter.html#Ext-util-Filter-cfg-property", + "shortDoc": "The property to filter on. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Filter.js", + "private": false, + "name": "property", + "owner": "Ext.util.Filter", + "doc": "

The property to filter on. Required unless a filterFn is passed

\n", + "linenr": 42, + "html_filename": "Filter.html" + }, + { + "type": "String", + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "cfg", + "href": "Filter.html#Ext-util-Filter-cfg-root", + "shortDoc": "Optional root property. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Filter.js", + "private": false, + "name": "root", + "owner": "Ext.util.Filter", + "doc": "

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 property out of the data object of each item

\n", + "linenr": 67, + "html_filename": "Filter.html" + } + ], + "method": [ + { + "deprecated": null, + "alias": null, + "href": "Filter.html#Ext-util-Filter-method-constructor", + "tagname": "method", + "protected": false, + "shortDoc": "Creates new Filter. ...", + "static": false, + "params": [ + { + "type": "Object", + "optional": true, + "doc": "

(optional) Config object

\n", + "name": "config" + } + ], + "private": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Filter.js", + "doc": "

Creates new Filter.

\n", + "owner": "Ext.util.Filter", + "name": "Filter", + "html_filename": "Filter.html", + "return": { + "type": "Object", + "doc": "\n" + }, + "linenr": 72 + } + ], + "property": [ - ], - "event": [ + ], + "cssVar": [ - ], - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Filter.js", - "linenr": 1, - "html_filename": "Filter.html", - "href": "Filter.html#Ext-util-Filter", - "cssVar": [ + ], + "cssMixin": [ - ], - "cssMixin": [ + ], + "event": [ - ], - "component": false, + ] + }, + "singleton": false, + "alias": null, "superclasses": [ ], + "protected": false, + "tagname": "class", + "mixins": [ + + ], + "href": "Filter.html#Ext-util-Filter", "subclasses": [ ], + "static": false, + "author": null, + "component": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Filter.js", + "private": false, + "alternateClassNames": [ + + ], + "name": "Ext.util.Filter", + "doc": "

Represents a filter that can be applied to a MixedCollection. 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 Stores frequently create them when filtering and searching on their\nrecords. Example usage:

\n\n\n
//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
\n\n", "mixedInto": [ ], - "allMixins": [ + "linenr": 1, + "xtypes": [ - ] + ], + "html_filename": "Filter.html", + "extends": "Object" }); \ No newline at end of file