a:29:{s:9:"#provides";s:23:"dojox.dtl._DomTemplated";s:9:"#resource";s:20:"dtl/_DomTemplated.js";s:9:"#requires";a:4:{i:0;a:3:{i:0;s:6:"common";i:1;s:16:"dijit._Templated";i:2;s:5:"dijit";}i:1;a:2:{i:0;s:6:"common";i:1;s:13:"dojox.dtl.dom";}i:2;a:2:{i:0;s:6:"common";i:1;s:20:"dojox.dtl.render.dom";}i:3;a:2:{i:0;s:6:"common";i:1;s:23:"dojox.dtl.contrib.dijit";}}s:23:"dojox.dtl._DomTemplated";a:3:{s:4:"type";s:6:"Object";s:7:"private";b:1;s:7:"summary";s:0:"";}s:54:"dojox.dtl._DomTemplated.prototype._dijitTemplateCompat";a:2:{s:7:"private";b:1;s:7:"summary";s:0:"";}s:48:"dojox.dtl._DomTemplated.prototype.buildRendering";a:3:{s:4:"type";s:8:"Function";s:6:"source";s:1015:"dojo.provide("dojox.dtl._DomTemplated"); dojo.require("dijit._Templated"); dojo.require("dojox.dtl.dom"); dojo.require("dojox.dtl.render.dom"); dojo.require("dojox.dtl.contrib.dijit"); dojox.dtl._DomTemplated = { prototype: { _dijitTemplateCompat: false, buildRendering: function(){ // summary: // Construct the UI for this widget, setting this.domNode. //render needs a domNode to work with this.domNode = this.srcNodeRef; if(!this._render){ var ddcd = dojox.dtl.contrib.dijit; var old = ddcd.widgetsInTemplate; ddcd.widgetsInTemplate = this.widgetsInTemplate; this.template = this.template || this._getCachedTemplate(this.templatePath, this.templateString); this._render = new dojox.dtl.render.dom.Render(this.domNode, this.template); ddcd.widgetsInTemplate = old; } this.render(); this.domNode = this.template.getRootNode(); if(this.srcNodeRef && this.srcNodeRef.parentNode){ dojo.destroy(this.srcNodeRef); delete this.srcNodeRef; }";s:7:"summary";s:0:"";}s:56:"dojox.dtl._DomTemplated.prototype.buildRendering.domNode";a:2:{s:8:"instance";s:48:"dojox.dtl._DomTemplated.prototype.buildRendering";s:7:"summary";s:0:"";}s:57:"dojox.dtl._DomTemplated.prototype.buildRendering.template";a:2:{s:8:"instance";s:48:"dojox.dtl._DomTemplated.prototype.buildRendering";s:7:"summary";s:0:"";}s:56:"dojox.dtl._DomTemplated.prototype.buildRendering._render";a:3:{s:8:"instance";s:48:"dojox.dtl._DomTemplated.prototype.buildRendering";s:7:"private";b:1;s:7:"summary";s:0:"";}s:45:"dojox.dtl._DomTemplated.prototype.setTemplate";a:4:{s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:8:"template";a:1:{s:4:"type";s:16:"String|dojo._Url";}s:7:"context";a:2:{s:8:"optional";b:1;s:4:"type";s:17:"dojox.dtl.Context";}}s:6:"source";s:200:" if(dojox.dtl.text._isTemplate(template)){ this.template = this._getCachedTemplate(null, template); }else{ this.template = this._getCachedTemplate(template); } this.render(context);";s:7:"summary";s:44:"Quickly switch between templated by location";}s:54:"dojox.dtl._DomTemplated.prototype.setTemplate.template";a:2:{s:8:"instance";s:45:"dojox.dtl._DomTemplated.prototype.setTemplate";s:7:"summary";s:0:"";}s:40:"dojox.dtl._DomTemplated.prototype.render";a:4:{s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:7:"context";a:2:{s:8:"optional";b:1;s:4:"type";s:17:"dojox.dtl.Context";}s:3:"tpl";a:2:{s:8:"optional";b:1;s:4:"type";s:21:"dojox.dtl.DomTemplate";}}s:6:"source";s:107:" if(tpl){ this.template = tpl; } this._render.render(this._getContext(context), this.template);";s:7:"summary";s:0:"";}s:49:"dojox.dtl._DomTemplated.prototype.render.template";a:2:{s:8:"instance";s:40:"dojox.dtl._DomTemplated.prototype.render";s:7:"summary";s:0:"";}s:45:"dojox.dtl._DomTemplated.prototype._getContext";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:7:"context";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:173:" if (!(context instanceof dojox.dtl.Context)) { context = false; } context = context || new dojox.dtl.Context(this); context.setThis(this); return context;";s:7:"private";b:1;s:7:"summary";s:0:"";}s:52:"dojox.dtl._DomTemplated.prototype._getCachedTemplate";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:12:"templatePath";a:1:{s:4:"type";s:0:"";}s:14:"templateString";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:348:" if(!this._templates){ this._templates = {}; } var key = templateString || templatePath.toString(); var tmplts = this._templates; if(tmplts[key]){ return tmplts[key]; } return (tmplts[key] = new dojox.dtl.DomTemplate( dijit._Templated.getCachedTemplate( templatePath, templateString, true ) ));";s:7:"private";b:1;s:7:"summary";s:0:"";}s:63:"dojox.dtl._DomTemplated.prototype._getCachedTemplate._templates";a:4:{s:8:"instance";s:52:"dojox.dtl._DomTemplated.prototype._getCachedTemplate";s:7:"private";b:1;s:14:"private_parent";b:1;s:7:"summary";s:0:"";}s:33:"dojox.dtl._DomTemplated.prototype";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:12:"this.domNode";a:1:{s:7:"summary";s:0:"";}s:4:"ddcd";a:1:{s:7:"summary";s:0:"";}s:3:"old";a:1:{s:7:"summary";s:0:"";}s:22:"ddcd.widgetsInTemplate";a:1:{s:7:"summary";s:0:"";}s:13:"this.template";a:1:{s:7:"summary";s:0:"";}s:12:"this._render";a:2:{s:7:"private";b:1;s:7:"summary";s:0:"";}s:7:"context";a:1:{s:7:"summary";s:0:"";}s:15:"this._templates";a:2:{s:7:"private";b:1;s:7:"summary";s:0:"";}s:3:"key";a:1:{s:7:"summary";s:0:"";}s:6:"tmplts";a:1:{s:7:"summary";s:0:"";}s:9:"dojox.dtl";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:"";}}