Functiondojox.wire.DataWire._getAttributeValue

dojo.require("dojox.wire.DataWire");
defined in dojox/wire/DataWire.js

This method uses an item passed in 'item' argument and 'attribute' argument to call getValue() method of 'dataStore'. If an attribute name have an array suffix ("[]"), getValues() method is called, instead. If an index is specified in the array suffix, an array element for the index is returned, instead of the array itself.

Usage

function (/*Object*/ item, /*String*/ attribute) (view source)
parametertypedescription
itemObjectAn item
attributeStringAn attribute name