a:10:{s:9:"#provides";s:23:"dojox.wire.TableAdapter";s:9:"#resource";s:20:"wire/TableAdapter.js";s:9:"#requires";a:1:{i:0;a:2:{i:0;s:6:"common";i:1;s:24:"dojox.wire.CompositeWire";}}s:23:"dojox.wire.TableAdapter";a:7:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:24:"dojox.wire.CompositeWire";}s:4:"call";a:1:{i:0;s:24:"dojox.wire.CompositeWire";}}s:7:"summary";s:21:"Initialize properties";s:11:"description";s:177:"If object properties or array elements specified in 'columns' property are not Wires, Wires are created from them as arguments, with 'parent' property set to this Wire instance.";s:10:"parameters";a:1:{s:4:"args";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:103:"Arguments to initialize properties columns: An object or array containing child Wires for column values";}}s:6:"source";s:41:" this._initializeChildren(this.columns);";s:9:"classlike";b:1;}s:34:"dojox.wire.TableAdapter._wireClass";a:3:{s:9:"prototype";s:23:"dojox.wire.TableAdapter";s:7:"private";b:1;s:7:"summary";s:0:"";}s:33:"dojox.wire.TableAdapter._getValue";a:9:{s:9:"prototype";s:23:"dojox.wire.TableAdapter";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:6:"object";a:2:{s:4:"type";s:5:"Array";s:7:"summary";s:12:"A root array";}}s:6:"source";s:262:" if(!object || !this.columns){ return object; //Array } var array = object; if(!dojo.isArray(array)){ array = [array]; } var rows = []; for(var i in array){ var row = this._getRow(array[i]); rows.push(row); } return rows; //Array";s:7:"summary";s:52:"Return an array of table row value (object or array)";s:11:"description";s:235:"This method iterates over an array specified to 'object' argument and calls getValue() method of the child Wires with each element of the array to get a row object or array. Finally, an array with the row objects or arrays are retuned.";s:14:"return_summary";s:27:"An array of table row value";s:7:"returns";s:5:"Array";s:7:"private";b:1;}s:33:"dojox.wire.TableAdapter._setValue";a:6:{s:9:"prototype";s:23:"dojox.wire.TableAdapter";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:6:"object";a:1:{s:4:"type";s:5:"Array";}s:5:"value";a:1:{s:4:"type";s:5:"Array";}}s:6:"source";s:72:" throw new Error("Unsupported API: " + this._wireClass + "._setValue");";s:7:"summary";s:13:"Not supported";s:7:"private";b:1;}s:31:"dojox.wire.TableAdapter._getRow";a:9:{s:9:"prototype";s:23:"dojox.wire.TableAdapter";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:6:"object";a:1:{s:4:"type";s:13:"Object||Array";}}s:6:"source";s:180:" var row = (dojo.isArray(this.columns) ? [] : {}); // array or object for(var c in this.columns){ row[c] = this.columns[c].getValue(object); } return row; //Array||Object";s:7:"summary";s:41:"Return an array or object for a table row";s:11:"description";s:87:"This method calls getValue() method of the child Wires to create a row object or array.";s:14:"return_summary";s:34:"An array or object for a table row";s:7:"returns";s:13:"Array||Object";s:7:"private";b:1;}s:10:"dojox.wire";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}