dojox.help._help
dojo.require("dojox.help._base");
defined in dojox/help/_base.js
Usage
function () (view source)
var name = this.__name__; var search = dojox.help._stripPrototype(name)[0]; var attributes = []; for(var i = 0, attribute; attribute = dojox.help._attributes[i]; i++){ if(!this["__" + attribute + "__"]){ attributes.push(attribute); } } dojox.help._displayHelp(true, { name: this.__name__ }); if(!attributes.length || this.__searched__){ dojox.help._displayHelp(false, dojox.help._clean(this)); }else{ this.__searched__ = true; dojox.help._rpc.get(dojox.help._addVersion({ name: search, exact: true, attributes: attributes })).addCallback(this, function(data){ if(this.toString === dojox.help._toString){ this.toString(data); } if(data && data.length){ data = data[0]; for(var i = 0, attribute; attribute = dojox.help._attributes[i]; i++){ if(data[attribute]){ this["__" + attribute + "__"] = data[attribute]; } } dojox.help._displayHelp(false, dojox.help._clean(this)); }else{ dojox.help._displayHelp(false, false); } }); } if(!+dojo.isFF){ return ""; }