Changeset 12620
- Timestamp:
- 02/22/08 10:29:45 (11 months ago)
- Files:
-
- 1 modified
-
dojo/trunk/data/api/Read.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dojo/trunk/data/api/Read.js
r11363 r12620 16 16 // Returns defaultValue if and only if *item* does not have a value for *attribute*. 17 17 // Returns null if and only if null was explicitly set as the attribute value. 18 // Returns undefined if and only if the item does not have a value for the given19 // attribute (which is the same as saying the item does not have the attribute).18 // Returns undefined if and only if the item does not have a value for the 19 // given attribute (which is the same as saying the item does not have the attribute). 20 20 // description: 21 21 // Saying that an "item x does not have a value for an attribute y" … … 47 47 // This getValues() method works just like the getValue() method, but getValues() 48 48 // always returns an array rather than a single attribute value. The array 49 // may be empty, may contain a single attribute value, or may contain many50 // attribute values.49 // may be empty, may contain a single attribute value, or may contain 50 // many attribute values. 51 51 // If the item does not have a value for the given attribute, then getValues() 52 52 // will return an empty array: []. (So, if store.hasAttribute(item, attribute) 53 // returnsfalse, then store.getValues(item, attribute) will return [].)53 // has a return of false, then store.getValues(item, attribute) will return [].) 54 54 // 55 55 // item: