YAHOO
The Yahoo global namespace
Object | +--YAHOO
YAHOO
void |
extend
(<function> subclass, <function> superclass)
Utility to set up the prototype, constructor and superclass properties to
support an inheritance strategy that can chain constructors and methods.
|
boolean |
log
(<string> sMsg, <string> sCategory, <string> sSource)
Uses YAHOO.widget.Logger to output a log message, if the widget is available.
|
Object |
namespace
(<String> ns)
Returns the namespace specified and creates it if it doesn't exist
|
YAHOO
()
void
extend
(<function> subclass, <function> superclass)
subclass
-
the object to modify
superclass
-
the object to inherit
boolean
log
(<string> sMsg, <string> sCategory, <string> sSource)
sMsg
-
The message to log.
sCategory
-
The log category for the message. Default categories are "info", "warn", "error", time". Custom categories can be used as well. (opt)
sSource
-
The source of the the message (opt)
Object
namespace
(<String> ns)
ns
-
The name of the namespace