a:11:{s:9:"#provides";s:22:"dojox.wire.TextAdapter";s:9:"#resource";s:19:"wire/TextAdapter.js";s:9:"#requires";a:1:{i:0;a:2:{i:0;s:6:"common";i:1;s:24:"dojox.wire.CompositeWire";}}s:22:"dojox.wire.TextAdapter";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:148:"If array elements specified in 'segments' 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:100:"Arguments to initialize properties segments: An array containing child Wires for text segment values";}}s:6:"source";s:93:" this._initializeChildren(this.segments); if(!this.delimiter){ this.delimiter = ""; }";s:9:"classlike";b:1;}s:33:"dojox.wire.TextAdapter._wireClass";a:3:{s:9:"prototype";s:22:"dojox.wire.TextAdapter";s:7:"private";b:1;s:7:"summary";s:0:"";}s:32:"dojox.wire.TextAdapter._getValue";a:9:{s:9:"prototype";s:22:"dojox.wire.TextAdapter";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:243:" if(!object || !this.segments){ return object; //Object||Array } var text = ""; for(var i in this.segments){ var segment = this.segments[i].getValue(object); text = this._addSegment(text, segment); } return text; //String";s:7:"summary";s:26:"Return a concatenated text";s:11:"description";s:160:"This method calls getValue() method of the child Wires wuth 'object' argument and concatenate the values with 'delimiter' property to return. arg: A root object";s:14:"return_summary";s:19:"A concatinated text";s:7:"returns";s:20:"Object||Array|String";s:7:"private";b:1;}s:32:"dojox.wire.TextAdapter._setValue";a:6:{s:9:"prototype";s:22:"dojox.wire.TextAdapter";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:6:"object";a:1:{s:4:"type";s:13:"Object||Array";}s:5:"value";a:1:{s:4:"type";s:6:"String";}}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:34:"dojox.wire.TextAdapter._addSegment";a:9:{s:9:"prototype";s:22:"dojox.wire.TextAdapter";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:4:"text";a:2:{s:4:"type";s:6:"String";s:7:"summary";s:11:"A base text";}s:7:"segment";a:2:{s:4:"type";s:6:"String";s:7:"summary";s:21:"A text segment to add";}}s:6:"source";s:152:" if(!segment){ return text; //String }else if(!text){ return segment; //String }else{ return text + this.delimiter + segment; //String }";s:7:"summary";s:26:"Return a concatenated text";s:11:"description";s:125:"This method add a text segment specified to 'segment' argument to a base text specified to 'text', with 'delimiter' property.";s:14:"return_summary";s:19:"A concatinated text";s:7:"returns";s:6:"String";s:7:"private";b:1;}s:32:"dojox.wire.TextAdapter.delimiter";a:3:{s:8:"instance";s:22:"dojox.wire.TextAdapter";s:4:"type";s:1:"A";s:7:"summary";s:16:"delimiter string";}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:"";}}