a:42:{s:9:"#provides";s:22:"dojox.wire.ml.Transfer";s:9:"#resource";s:19:"wire/ml/Transfer.js";s:9:"#requires";a:4:{i:0;a:3:{i:0;s:6:"common";i:1;s:13:"dijit._Widget";i:2;s:5:"dijit";}i:1;a:3:{i:0;s:6:"common";i:1;s:16:"dijit._Container";i:2;s:5:"dijit";}i:2;a:2:{i:0;s:6:"common";i:1;s:16:"dojox.wire._base";}i:3;a:2:{i:0;s:6:"common";i:1;s:20:"dojox.wire.ml.Action";}}s:22:"dojox.wire.ml.Transfer";a:5:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:20:"dojox.wire.ml.Action";}s:4:"call";a:1:{i:0;s:20:"dojox.wire.ml.Action";}}s:7:"summary";s:59:"A widget to transfer values through source and target Wires";s:11:"description";s:305:"This widget represents a controller task to transfer a value from a source to a target, through a source and a target Wires, when an event (a function) or a topic is issued. If this widget has child ChildWire widgets, their _addWire() methods are called to add Wire arguments to a source or a target Wire.";s:9:"classlike";b:1;}s:29:"dojox.wire.ml.Transfer.source";a:3:{s:9:"prototype";s:22:"dojox.wire.ml.Transfer";s:4:"type";s:1:"A";s:7:"summary";s:29:"source object and/or property";}s:34:"dojox.wire.ml.Transfer.sourceStore";a:3:{s:9:"prototype";s:22:"dojox.wire.ml.Transfer";s:4:"type";s:1:"A";s:7:"summary";s:33:"data store for a source data item";}s:38:"dojox.wire.ml.Transfer.sourceAttribute";a:3:{s:9:"prototype";s:22:"dojox.wire.ml.Transfer";s:4:"type";s:2:"An";s:7:"summary";s:31:"attribute of a source data item";}s:33:"dojox.wire.ml.Transfer.sourcePath";a:3:{s:9:"prototype";s:22:"dojox.wire.ml.Transfer";s:4:"type";s:1:"A";s:7:"summary";s:55:"simplified XPath to a source property of an XML element";}s:27:"dojox.wire.ml.Transfer.type";a:3:{s:9:"prototype";s:22:"dojox.wire.ml.Transfer";s:4:"type";s:1:"A";s:7:"summary";s:35:"type of the value to be transferred";}s:32:"dojox.wire.ml.Transfer.converter";a:3:{s:9:"prototype";s:22:"dojox.wire.ml.Transfer";s:4:"type";s:1:"A";s:7:"summary";s:57:"class name of a converter for the value to be transferred";}s:32:"dojox.wire.ml.Transfer.delimiter";a:2:{s:9:"prototype";s:22:"dojox.wire.ml.Transfer";s:7:"summary";s:0:"";}s:29:"dojox.wire.ml.Transfer.target";a:3:{s:9:"prototype";s:22:"dojox.wire.ml.Transfer";s:4:"type";s:1:"A";s:7:"summary";s:29:"target object and/or property";}s:34:"dojox.wire.ml.Transfer.targetStore";a:3:{s:9:"prototype";s:22:"dojox.wire.ml.Transfer";s:4:"type";s:1:"A";s:7:"summary";s:33:"data store for a target data item";}s:38:"dojox.wire.ml.Transfer.targetAttribute";a:3:{s:9:"prototype";s:22:"dojox.wire.ml.Transfer";s:4:"type";s:2:"An";s:7:"summary";s:31:"attribute of a target data item";}s:33:"dojox.wire.ml.Transfer.targetPath";a:3:{s:9:"prototype";s:22:"dojox.wire.ml.Transfer";s:4:"type";s:1:"A";s:7:"summary";s:55:"simplified XPath to a target property of an XML element";}s:27:"dojox.wire.ml.Transfer._run";a:6:{s:9:"prototype";s:22:"dojox.wire.ml.Transfer";s:4:"type";s:8:"Function";s:6:"source";s:145:" var sourceWire = this._getWire("source"); var targetWire = this._getWire("target"); dojox.wire.transfer(sourceWire, targetWire, arguments);";s:7:"summary";s:42:"Transfer a value from a source to a target";s:11:"description";s:318:"First, Wires for a source and a target are created from attributes. Then, a value is obtained by getValue() of the source Wire is set by setValue() of the target Wire. The arguments to this method is passed to getValue() and setValue() of Wires, so that they can be used to identify the root objects off the arguments.";s:7:"private";b:1;}s:31:"dojox.wire.ml.Transfer._getWire";a:9:{s:9:"prototype";s:22:"dojox.wire.ml.Transfer";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"which";a:2:{s:4:"type";s:6:"String";s:7:"summary";s:71:"Which Wire arguments to build, "source" or "target"";}}s:6:"source";s:1388:" var args = undefined; if(which == "source"){ args = { object: this.source, dataStore: this.sourceStore, attribute: this.sourceAttribute, path: this.sourcePath, type: this.type, converter: this.converter }; }else{ // "target" args = { object: this.target, dataStore: this.targetStore, attribute: this.targetAttribute, path: this.targetPath }; } if(args.object){ if(args.object.length >= 9 && args.object.substring(0, 9) == "arguments"){ args.property = args.object.substring(9); args.object = null; }else{ var i = args.object.indexOf('.'); if(i < 0){ args.object = dojox.wire.ml._getValue(args.object); }else{ args.property = args.object.substring(i + 1); args.object = dojox.wire.ml._getValue(args.object.substring(0, i)); } } } if(args.dataStore){ args.dataStore = dojox.wire.ml._getValue(args.dataStore); } var childArgs = undefined; var children = this.getChildren(); for(var i in children){ var child = children[i]; if(child instanceof dojox.wire.ml.ChildWire && child.which == which){ if(!childArgs){ childArgs = {}; } child._addWire(this, childArgs); } } if(childArgs){ // make nested Wires childArgs.object = dojox.wire.create(args); childArgs.dataStore = args.dataStore; args = childArgs; } return args; //Object";s:7:"summary";s:36:"Build Wire arguments from attributes";s:11:"description";s:732:"Arguments object for a source or a target Wire, specified by 'which' argument, are build from corresponding attributes, including '*Store' (for 'dataStore'), '*Attribute' (for 'attribute), '*Path' (for 'path'), 'type' and 'converter'. 'source' or 'target' attribute is parsed as: "object_id.property_name[.sub_property_name...]" If 'source' or 'target' starts with "arguments", 'object' argument for a Wire is set to null, so that the root object is given as an event or topic arguments. If this widget has child ChildWire widgets with a corresponding 'which' attribute, their _addWire() methods are called to add additional Wire arguments and nested Wire is created, specifying the Wire defined by this widget to 'object' argument.";s:14:"return_summary";s:21:"Wire arguments object";s:7:"returns";s:6:"Object";s:7:"private";b:1;}s:23:"dojox.wire.ml.ChildWire";a:5:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:13:"dijit._Widget";}s:4:"call";a:1:{i:0;s:13:"dijit._Widget";}}s:7:"summary";s:28:"A widget to add a child wire";s:11:"description";s:105:"Attributes of this widget are used to add a child Wire to a composite Wire of the parent Transfer widget.";s:9:"classlike";b:1;}s:29:"dojox.wire.ml.ChildWire.which";a:3:{s:9:"prototype";s:23:"dojox.wire.ml.ChildWire";s:4:"type";s:5:"Which";s:7:"summary";s:97:"Wire to add a child Wire, "source" or "target", default to "source"";}s:30:"dojox.wire.ml.ChildWire.object";a:3:{s:9:"prototype";s:23:"dojox.wire.ml.ChildWire";s:4:"type";s:1:"A";s:7:"summary";s:25:"root object for the value";}s:32:"dojox.wire.ml.ChildWire.property";a:3:{s:9:"prototype";s:23:"dojox.wire.ml.ChildWire";s:4:"type";s:1:"A";s:7:"summary";s:22:"property for the value";}s:28:"dojox.wire.ml.ChildWire.type";a:3:{s:9:"prototype";s:23:"dojox.wire.ml.ChildWire";s:4:"type";s:1:"A";s:7:"summary";s:17:"type of the value";}s:33:"dojox.wire.ml.ChildWire.converter";a:3:{s:9:"prototype";s:23:"dojox.wire.ml.ChildWire";s:4:"type";s:1:"A";s:7:"summary";s:39:"class name of a converter for the value";}s:33:"dojox.wire.ml.ChildWire.attribute";a:3:{s:9:"prototype";s:23:"dojox.wire.ml.ChildWire";s:4:"type";s:1:"A";s:7:"summary";s:33:"data item attribute for the value";}s:28:"dojox.wire.ml.ChildWire.path";a:3:{s:9:"prototype";s:23:"dojox.wire.ml.ChildWire";s:4:"type";s:1:"A";s:7:"summary";s:30:"simplified XPath for the value";}s:28:"dojox.wire.ml.ChildWire.name";a:3:{s:9:"prototype";s:23:"dojox.wire.ml.ChildWire";s:4:"type";s:1:"A";s:7:"summary";s:23:"composite property name";}s:32:"dojox.wire.ml.ChildWire._addWire";a:7:{s:9:"prototype";s:23:"dojox.wire.ml.ChildWire";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:6:"parent";a:2:{s:4:"type";s:8:"Transfer";s:7:"summary";s:24:"A parent Transfer widget";}s:4:"args";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:14:"Wire arguments";}}s:6:"source";s:251:" if(this.name){ // object if(!args.children){ args.children = {}; } args.children[this.name] = this._getWire(parent); }else{ // array if(!args.children){ args.children = []; } args.children.push(this._getWire(parent)); }";s:7:"summary";s:34:"Add a child Wire to Wire arguments";s:11:"description";s:173:"If 'name' attribute is specified, a child Wire is added as the named property of 'children' object of 'args'. Otherwise, a child Wire is added to 'children' array of 'args'.";s:7:"private";b:1;}s:32:"dojox.wire.ml.ChildWire._getWire";a:8:{s:9:"prototype";s:23:"dojox.wire.ml.ChildWire";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:6:"parent";a:2:{s:4:"type";s:8:"Transfer";s:7:"summary";s:24:"A parent Transfer widget";}}s:6:"source";s:228:" return { object: (this.object ? dojox.wire.ml._getValue(this.object) : undefined), property: this.property, type: this.type, converter: this.converter, attribute: this.attribute, path: this.path }; //Object";s:7:"summary";s:42:"Build child Wire arguments from attributes";s:11:"description";s:137:"Arguments object for a child Wire are build from attributes, including 'object', 'property', 'type', 'converter', 'attribute' and 'path'.";s:14:"return_summary";s:21:"Wire arguments object";s:7:"private";b:1;}s:24:"dojox.wire.ml.ColumnWire";a:5:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:23:"dojox.wire.ml.ChildWire";}s:4:"call";a:1:{i:0;s:23:"dojox.wire.ml.ChildWire";}}s:7:"summary";s:29:"A widget to add a column wire";s:11:"description";s:104:"Attributes of this widget are used to add a column Wire to a TableAdapter of the parent Transfer widget.";s:9:"classlike";b:1;}s:31:"dojox.wire.ml.ColumnWire.column";a:3:{s:9:"prototype";s:24:"dojox.wire.ml.ColumnWire";s:4:"type";s:1:"A";s:7:"summary";s:11:"column name";}s:33:"dojox.wire.ml.ColumnWire._addWire";a:7:{s:9:"prototype";s:24:"dojox.wire.ml.ColumnWire";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:6:"parent";a:2:{s:4:"type";s:8:"Transfer";s:7:"summary";s:24:"A parent Transfer widget";}s:4:"args";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:14:"Wire arguments";}}s:6:"source";s:249:" if(this.column){ // object if(!args.columns){ args.columns = {}; } args.columns[this.column] = this._getWire(parent); }else{ // array if(!args.columns){ args.columns = []; } args.columns.push(this._getWire(parent)); }";s:7:"summary";s:35:"Add a column Wire to Wire arguments";s:11:"description";s:175:"If 'column' attribute is specified, a column Wire is added as the named property of 'columns' object of 'args'. Otherwise, a column Wire is added to 'columns' array of 'args'.";s:7:"private";b:1;}s:22:"dojox.wire.ml.NodeWire";a:6:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:23:"dojox.wire.ml.ChildWire";}s:4:"call";a:2:{i:0;s:23:"dojox.wire.ml.ChildWire";i:1;s:16:"dijit._Container";}}s:6:"mixins";a:1:{s:9:"prototype";a:1:{i:0;s:26:"dijit._Container.prototype";}}s:7:"summary";s:26:"A widget to add node wires";s:11:"description";s:100:"Attributes of this widget are used to add node Wires to a TreeAdapter of the parent Transfer widget.";s:9:"classlike";b:1;}s:36:"dojox.wire.ml.NodeWire.titleProperty";a:3:{s:9:"prototype";s:22:"dojox.wire.ml.NodeWire";s:4:"type";s:1:"A";s:7:"summary";s:27:"property for the node title";}s:37:"dojox.wire.ml.NodeWire.titleAttribute";a:3:{s:9:"prototype";s:22:"dojox.wire.ml.NodeWire";s:4:"type";s:1:"A";s:7:"summary";s:38:"data item attribute for the node title";}s:32:"dojox.wire.ml.NodeWire.titlePath";a:3:{s:9:"prototype";s:22:"dojox.wire.ml.NodeWire";s:4:"type";s:1:"A";s:7:"summary";s:35:"simplified XPath for the node title";}s:31:"dojox.wire.ml.NodeWire._addWire";a:7:{s:9:"prototype";s:22:"dojox.wire.ml.NodeWire";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:6:"parent";a:2:{s:4:"type";s:8:"Transfer";s:7:"summary";s:24:"A parent Transfer widget";}s:4:"args";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:14:"Wire arguments";}}s:6:"source";s:85:" if(!args.nodes){ args.nodes = []; } args.nodes.push(this._getWires(parent));";s:7:"summary";s:32:"Add node Wires to Wire arguments";s:11:"description";s:48:"Node Wires are added to 'nodes' array of 'args'.";s:7:"private";b:1;}s:32:"dojox.wire.ml.NodeWire._getWires";a:9:{s:9:"prototype";s:22:"dojox.wire.ml.NodeWire";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:6:"parent";a:2:{s:4:"type";s:8:"Transfer";s:7:"summary";s:24:"A parent Transfer widget";}}s:6:"source";s:484:" var args = { node: this._getWire(parent), title: { type: "string", property: this.titleProperty, attribute: this.titleAttribute, path: this.titlePath } }; var childArgs = []; var children = this.getChildren(); for(var i in children){ var child = children[i]; if(child instanceof dojox.wire.ml.NodeWire){ childArgs.push(child._getWires(parent)); } } if(childArgs.length > 0){ args.children = childArgs; } return args; //Object";s:7:"summary";s:42:"Build node Wires arguments from attributes";s:11:"description";s:392:"Arguments object for 'node' Wire are build from attributes, including 'object', 'property', 'type', 'converter', 'attribute' and 'path'. Arguments object for 'title' Wire are build from another set of attributes, 'titleProperty', 'titleAttribute' and 'titlePath'. If this widget has child NodeWire widgets, their _getWires() methods are called recursively to build 'children' array of 'args'.";s:14:"return_summary";s:21:"Wire arguments object";s:7:"returns";s:6:"Object";s:7:"private";b:1;}s:25:"dojox.wire.ml.SegmentWire";a:5:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:23:"dojox.wire.ml.ChildWire";}s:4:"call";a:1:{i:0;s:23:"dojox.wire.ml.ChildWire";}}s:7:"summary";s:30:"A widget to add a segment wire";s:11:"description";s:104:"Attributes of this widget are used to add a segment Wire to a TextAdapter of the parent Transfer widget.";s:9:"classlike";b:1;}s:34:"dojox.wire.ml.SegmentWire._addWire";a:7:{s:9:"prototype";s:25:"dojox.wire.ml.SegmentWire";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:6:"parent";a:2:{s:4:"type";s:8:"Transfer";s:7:"summary";s:24:"A parent Transfer widget";}s:4:"args";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:14:"Wire arguments";}}s:6:"source";s:178:" if(!args.segments){ args.segments = []; } args.segments.push(this._getWire(parent)); if(parent.delimiter && !args.delimiter){ args.delimiter = parent.delimiter; }";s:7:"summary";s:37:"Add a segument Wire to Wire arguments";s:11:"description";s:140:"A segment Wire is added to 'segments' array of 'args'. If 'parent' has 'delimiter' attribute, it is used for 'delimiter' property of 'args'.";s:7:"private";b:1;}s:13:"dojox.wire.ml";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}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:"";}}