professional-web-03-yahoo.js / js
The Yahoo global namespace @constructor
Returns the namespace specified and creates it if it doesn't exist YAHOO.namespace("property.package"); YAHOO.namespace("YAHOO.property.package"); Either of the above would create YAHOO.property, then YAHOO.property.package
parameter: {String} ns The name of the namespace
returns: {Object} A reference to the namespace object
Uses YAHOO.widget.Logger to output a log message, if the widget is available.
parameter: {string} sMsg The message to log.
parameter: {string} sCategory The log category for the message. Default categories are "info", "warn", "error", time". Custom categories can be used as well. (opt)
parameter: {string} sSource The source of the the message (opt)
returns: {boolean} True if the log operation was successful.
Utility to set up the prototype, constructor and superclass properties to support an inheritance strategy that can chain constructors and methods.
parameter: {Function} subclass the object to modify
parameter: {Function} superclass the object to inherit
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.