a:20:{s:9:"#provides";s:16:"dojox.wire._base";s:9:"#resource";s:13:"wire/_base.js";s:23:"dojox.wire._wireClasses";a:3:{s:4:"type";s:6:"Object";s:7:"private";b:1;s:7:"summary";s:0:"";}s:33:"dojox.wire._wireClasses.attribute";a:2:{s:14:"private_parent";b:1;s:7:"summary";s:0:"";}s:28:"dojox.wire._wireClasses.path";a:2:{s:14:"private_parent";b:1;s:7:"summary";s:0:"";}s:32:"dojox.wire._wireClasses.children";a:2:{s:14:"private_parent";b:1;s:7:"summary";s:0:"";}s:31:"dojox.wire._wireClasses.columns";a:2:{s:14:"private_parent";b:1;s:7:"summary";s:0:"";}s:29:"dojox.wire._wireClasses.nodes";a:2:{s:14:"private_parent";b:1;s:7:"summary";s:0:"";}s:32:"dojox.wire._wireClasses.segments";a:2:{s:14:"private_parent";b:1;s:7:"summary";s:0:"";}s:19:"dojox.wire.register";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:9:"wireClass";a:2:{s:4:"type";s:16:"Function||String";s:7:"summary";s:36:"A class or full qualified class name";}s:3:"key";a:2:{s:4:"type";s:6:"String";s:7:"summary";s:44:"A key property of arguments to create a Wire";}}s:6:"source";s:174:" if(!wireClass || !key){ return; //undefined } if(dojox.wire._wireClasses[key]){ // key already in use return; //undefined } dojox.wire._wireClasses[key] = wireClass;";s:7:"summary";s:138:"Register a Wire class desription: The specified Wire class or a class name is registered with a key property of arguments to create a Wire";s:7:"returns";s:9:"undefined";}s:20:"dojox.wire._getClass";a:8:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"name";a:2:{s:4:"type";s:6:"String";s:7:"summary";s:12:"A class name";}}s:6:"source";s:136:" dojo["require"](name); // use dojo["require"] instead of dojo.require to avoid a build problem return dojo.getObject(name); //Function";s:7:"summary";s:15:"Returns a class";s:11:"description";s:71:"The class is loaded by dojo.require() and returned by dojo.getObject().";s:14:"return_summary";s:7:"A class";s:7:"returns";s:8:"Function";s:7:"private";b:1;}s:17:"dojox.wire.create";a:7:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"args";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:26:"Arguments to create a Wire";}}s:6:"source";s:696:" if(!args){ args = {}; } var wireClass = args.wireClass; if(wireClass){ if(dojo.isString(wireClass)){ wireClass = dojox.wire._getClass(wireClass); } }else{ for(var key in args){ if(!args[key]){ continue; } wireClass = dojox.wire._wireClasses[key]; if(wireClass){ if(dojo.isString(wireClass)){ wireClass = dojox.wire._getClass(wireClass); dojox.wire._wireClasses[key] = wireClass; } break; } } } if(!wireClass){ if(dojo.isString(dojox.wire._defaultWireClass)){ dojox.wire._defaultWireClass = dojox.wire._getClass(dojox.wire._defaultWireClass); } wireClass = dojox.wire._defaultWireClass; } return new wireClass(args); //Object";s:7:"summary";s:28:"Create a Wire from arguments";s:11:"description";s:314:"If 'args' specifies 'wireClass', it is used as a class or full qualified class name to create a Wire with 'args' as arguments. Otherwise, a Wire class is determined by other proeprties of 'args' checking if 'args' specifies a key property for a Wire class. If no key property found, the default Wire class is used.";s:14:"return_summary";s:6:"A Wire";s:7:"returns";s:6:"Object";}s:17:"dojox.wire.isWire";a:7:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"wire";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:18:"An object to check";}}s:6:"source";s:44:" return (wire && wire._wireClass); //Boolean";s:7:"summary";s:28:"Check if an object is a Wire";s:11:"description";s:82:"If the specified object is a Wire, true is returned. Otherwise, false is returned.";s:14:"return_summary";s:45:"True if the object is a Wire, otherwise false";s:7:"returns";s:7:"Boolean";}s:19:"dojox.wire.transfer";a:6:{s:4:"type";s:8:"Function";s:10:"parameters";a:4:{s:6:"source";a:2:{s:4:"type";s:12:"Wire||Object";s:7:"summary";s:55:"A Wire or arguments to create a Wire for a source value";}s:6:"target";a:2:{s:4:"type";s:12:"Wire||Object";s:7:"summary";s:55:"A Wire or arguments to create a Wire for a target value";}s:13:"defaultObject";a:3:{s:8:"optional";b:1;s:4:"type";s:6:"Object";s:7:"summary";s:66:"defaultTargetObject; Optional default root objects passed to Wires";}s:19:"defaultTargetObject";a:2:{s:8:"optional";b:1;s:4:"type";s:6:"Object";}}s:6:"source";s:309:" if(!source || !target){ return; //undefined } if(!dojox.wire.isWire(source)){ source = dojox.wire.create(source); } if(!dojox.wire.isWire(target)){ target = dojox.wire.create(target); } var value = source.getValue(defaultObject); target.setValue(value, (defaultTargetObject || defaultObject));";s:7:"summary";s:41:"Transfer a source value to a target value";s:11:"description";s:342:"If 'source' and/or 'target' are not Wires, Wires are created with them as arguments. A value is got through the source Wire and set through the target Wire. 'defaultObject' is passed to Wires as a default root object. If 'defaultTargetObject' is specified, it is passed to the target Wire as a default root object, instead of 'defaultObject'.";s:7:"returns";s:9:"undefined";}s:18:"dojox.wire.connect";a:7:{s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:7:"trigger";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:39:"An event or topic to trigger a transfer";}s:6:"source";a:2:{s:4:"type";s:12:"Wire||Object";s:7:"summary";s:55:"A Wire or arguments to create a Wire for a source value";}s:6:"target";a:2:{s:4:"type";s:12:"Wire||Object";s:7:"summary";s:55:"A Wire or arguments to create a Wire for a target value";}}s:6:"source";s:438:" if(!trigger || !source || !target){ return; //undefined } var connection = {topic: trigger.topic}; if(trigger.topic){ connection.handle = dojo.subscribe(trigger.topic, function(){ dojox.wire.transfer(source, target, arguments); }); }else if(trigger.event){ connection.handle = dojo.connect(trigger.scope, trigger.event, function(){ dojox.wire.transfer(source, target, arguments); }); } return connection; //Object";s:7:"summary";s:69:"Transfer a source value to a target value on a trigger event or topic";s:11:"description";s:321:"If 'trigger' specifies 'topic', the topic is subscribed to transer a value on the topic. Otherwise, the event specified to 'event' of 'trigger' is listened to transfer a value. On the specified event or topic, transfer() is called with 'source', 'target' and the arguments of the event or topic (as default root objects).";s:14:"return_summary";s:36:"A connection handle for disconnect()";s:7:"returns";s:16:"undefined|Object";}s:21:"dojox.wire.disconnect";a:6:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:10:"connection";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:41:"A connection handle returned by connect()";}}s:6:"source";s:177:" if(!connection || !connection.handle){ return; //undefined } if(connection.topic){ dojo.unsubscribe(connection.handle); }else{ dojo.disconnect(connection.handle); }";s:7:"summary";s:48:"Remove a connection or subscription for transfer";s:11:"description";s:99:"If 'handle' has 'topic', the topic is unsubscribed. Otherwise, the listener to an event is removed.";s:7:"returns";s:9:"undefined";}s:28:"dojox.wire._defaultWireClass";a:2:{s:7:"private";b:1;s:7:"summary";s:0:"";}s:16:"dojox.wire._base";a:3:{s:4:"type";s:6:"Object";s:7:"private";b:1;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:"";}}