Searched refs:field (Results 1 - 25 of 27) sorted by relevance

12

/yui3/build/dataschema-base/
H A Ddataschema-base-debug.js41 * Applies field parser, if defined
45 * @param field {Object} Field.
48 parse: function(value, field) {
49 if(field.parser) {
50 var parser = (LANG.isFunction(field.parser)) ?
51 field.parser : Y.Parsers[field.parser+''];
56 Y.log("Could not find parser for field " + Y.dump(field), "warn", "dataschema-json");
/yui3/src/dataschema/js/
H A Ddataschema-base.js39 * Applies field parser, if defined
43 * @param field {Object} Field.
46 parse: function(value, field) {
47 if(field.parser) {
48 var parser = (LANG.isFunction(field.parser)) ?
49 field.parser : Y.Parsers[field.parser+''];
54 Y.log("Could not find parser for field " + Y.dump(field), "warn", "dataschema-json");
H A Ddataschema-array.js55 _schema.resultFields_ field identifiers are objects with the following properties:
154 result, item, type, field, key, value, i, j;
162 field = fields[j];
163 key = (!LANG.isUndefined(field.key)) ? field.key : field;
165 result[key] = Y.DataSchema.Base.parse.call(this, value, field);
H A Ddataschema-text.js47 _schema.resultFields_ field identifiers are objects with the following
58 name string as the field identifier instead of an object (see example
95 sequence that marks the end of a field and the start of
137 field, key, value, i, j;
155 field = fields[j];
156 key = (!isUndef(field.key)) ? field.key : field;
163 result[key] = parse.call(this, value, field);
H A Ddataschema-xml.js42 is extracted with the field identifiers described in _schema.resultFields_.
50 desired field data (String)
55 * `schema` : Used to retrieve nested field data into an array for
56 assignment as the result field value. This object follows the same
60 (strings) instead of field identifiers (objects) -- see example below.
63 The keys are the field identifier `key`s, and the values are the data
64 values extracted from the nodes or attributes found by the field `locator`
133 * Get an XPath-specified value for a given field from an XML node or document.
136 * @param field {String | Object} Field definition.
142 _getLocationValue: function(field, contex
[all...]
H A Ddataschema-json.js119 Field data in the result list is extracted with field identifiers in
130 instead of field identifiers (objects) -- see example below.
294 * Get field data values out of list of full results
308 field, key, locator, path, parser, val,
314 field = fields[i]; // A field can be a simple string or a hash
315 key = field.key || field; // Find the key
316 locator = field.locator || key; // Find the locator
339 parser = (isFunction(field
[all...]
/yui3/src/recordset/js/
H A Drecord.js20 * @param field {string} (optional) The key to retrieve the value from. If not supplied, the entire object is returned.
24 getValue: function(field) {
25 if (field === undefined) {
29 return this.get("data")[field];
H A Drecordset-sort.js15 function RecordsetSort(field, desc, sorter) {
27 * @description The last properties used to sort. Consists of an object literal with the keys "field", "desc", and "sorter"
35 field: undefined,
40 return (isValue(v.field) && isValue(v.desc) && isValue(v.sorter));
54 value: function(recA, recB, field, desc) {
55 var sorted = Compare(recA.getValue(field), recB.getValue(field), desc);
130 return (e.sorter)(a, b, e.field, e.desc);
140 * @param field {string} A key to sort by.
144 sort: function(field, des
[all...]
/yui3/build/recordset-sort/
H A Drecordset-sort-debug.js17 function RecordsetSort(field, desc, sorter) {
29 * @description The last properties used to sort. Consists of an object literal with the keys "field", "desc", and "sorter"
37 field: undefined,
42 return (isValue(v.field) && isValue(v.desc) && isValue(v.sorter));
56 value: function(recA, recB, field, desc) {
57 var sorted = Compare(recA.getValue(field), recB.getValue(field), desc);
132 return (e.sorter)(a, b, e.field, e.desc);
142 * @param field {string} A key to sort by.
146 sort: function(field, des
[all...]
/yui3/build/dataschema-array/
H A Ddataschema-array-debug.js57 _schema.resultFields_ field identifiers are objects with the following properties:
156 result, item, type, field, key, value, i, j;
164 field = fields[j];
165 key = (!LANG.isUndefined(field.key)) ? field.key : field;
167 result[key] = Y.DataSchema.Base.parse.call(this, value, field);
/yui3/build/dataschema-text/
H A Ddataschema-text-debug.js49 _schema.resultFields_ field identifiers are objects with the following
60 name string as the field identifier instead of an object (see example
97 sequence that marks the end of a field and the start of
139 field, key, value, i, j;
157 field = fields[j];
158 key = (!isUndef(field.key)) ? field.key : field;
165 result[key] = parse.call(this, value, field);
/yui3/build/dataschema-xml/
H A Ddataschema-xml-debug.js44 is extracted with the field identifiers described in _schema.resultFields_.
52 desired field data (String)
57 * `schema` : Used to retrieve nested field data into an array for
58 assignment as the result field value. This object follows the same
62 (strings) instead of field identifiers (objects) -- see example below.
65 The keys are the field identifier `key`s, and the values are the data
66 values extracted from the nodes or attributes found by the field `locator`
135 * Get an XPath-specified value for a given field from an XML node or document.
138 * @param field {String | Object} Field definition.
144 _getLocationValue: function(field, contex
[all...]
/yui3/build/dataschema-json/
H A Ddataschema-json-debug.js121 Field data in the result list is extracted with field identifiers in
132 instead of field identifiers (objects) -- see example below.
296 * Get field data values out of list of full results
310 field, key, locator, path, parser, val,
316 field = fields[i]; // A field can be a simple string or a hash
317 key = field.key || field; // Find the key
318 locator = field.locator || key; // Find the locator
341 parser = (isFunction(field
[all...]
/yui3/src/datatable-deprecated/js/
H A Dcolumn.js60 Points to underlying data field (for sorting or formatting, for
62 a visual representation of data from another column or record field.
65 @attribute field
69 field: {
127 @param {String} data.field This Column's "field" attribute value
155 //sortOptions:defaultDir, sortFn, field
206 * Return field for instance. Defaults to key if one was not provided.
H A Ddatatable-sort.js353 key, field, lastSort, desc, sorter;
357 field = column.get("field");
362 table.get("recordset").sort.sort(field, desc, sorter);
H A Ddatatable-base.js729 fields : column.get('field'),
813 o.field = columnInfo.fields;
910 o.value = o.data[o.field];
/yui3/build/datatable-sort-deprecated/
H A Ddatatable-sort-deprecated-debug.js340 key, field, lastSort, desc, sorter;
344 field = column.get("field");
349 table.get("recordset").sort.sort(field, desc, sorter);
/yui3/build/recordset-base/
H A Drecordset-base-debug.js22 * @param field {string} (optional) The key to retrieve the value from. If not supplied, the entire object is returned.
26 getValue: function(field) {
27 if (field === undefined) {
31 return this.get("data")[field];
/yui3/src/datatable/js/
H A Dsort.js79 Sorting is done by a simple value comparison using < and > on the field
141 * `"username"` - sort by the data's `username` field or the `key`
183 * `"username"` - sort by the data's `username` field or the `key`
194 @param {String|String[]|Object|Object[]} fields The field(s) to sort by
237 @param {String|String[]} fields The field(s) to reverse sort order for
665 i, len, name, dir, field, column;
688 field = name;
690 for (name in field) {
691 if (field.hasOwnProperty(name)) {
692 dir = dirMap[field[nam
[all...]
H A Dcore.js79 * `key` - Used to identify the record field/attribute containing content for
86 columns that aren't bound to a field/attribute in the record data. This
91 * `field` - For backward compatibility. Implementers should use `name`.
1266 if (col.field) {
1269 col.name = col.field;
/yui3/build/datatable-sort/
H A Ddatatable-sort-debug.js81 Sorting is done by a simple value comparison using < and > on the field
143 * `"username"` - sort by the data's `username` field or the `key`
185 * `"username"` - sort by the data's `username` field or the `key`
196 @param {String|String[]|Object|Object[]} fields The field(s) to sort by
239 @param {String|String[]} fields The field(s) to reverse sort order for
667 i, len, name, dir, field, column;
690 field = name;
692 for (name in field) {
693 if (field.hasOwnProperty(name)) {
694 dir = dirMap[field[nam
[all...]
/yui3/build/datatable-base-deprecated/
H A Ddatatable-base-deprecated-debug.js99 Points to underlying data field (for sorting or formatting, for
101 a visual representation of data from another column or record field.
104 @attribute field
108 field: {
166 @param {String} data.field This Column's "field" attribute value
194 //sortOptions:defaultDir, sortFn, field
245 * Return field for instance. Defaults to key if one was not provided.
1509 fields : column.get('field'),
1593 o.field
[all...]
/yui3/build/datatable-core/
H A Ddatatable-core-debug.js81 * `key` - Used to identify the record field/attribute containing content for
88 columns that aren't bound to a field/attribute in the record data. This
93 * `field` - For backward compatibility. Implementers should use `name`.
1268 if (col.field) {
1271 col.name = col.field;
/yui3/src/uploader/as/
H A DUploader.as303 * @param fieldName The field name that precedes the file data in the upload POST operation.
345 * @param fieldName The field name that precedes the file data in the upload POST operation. The uploadDataFieldName value must be non-null and a non-empty String.
373 * @param fieldName The field name that precedes the file data in the upload POST operation. The uploadDataFieldName value must be non-null and a non-empty String.
/yui3/src/uploader-deprecated/as/
H A DUploader.as303 * @param fieldName The field name that precedes the file data in the upload POST operation.
345 * @param fieldName The field name that precedes the file data in the upload POST operation. The uploadDataFieldName value must be non-null and a non-empty String.
373 * @param fieldName The field name that precedes the file data in the upload POST operation. The uploadDataFieldName value must be non-null and a non-empty String.

Completed in 112 milliseconds

12