public/javascripts/yui/calendar/calendar-debug.js
function(id, container, config) {

        // Normalize 2.4.0, pre 2.4.0 args
        var nArgs = this._parseArgs(arguments);

        id = nArgs.id;
        container = nArgs.container;
        config = nArgs.config;

        this.oDomContainer = Dom.get(container);
        if (!this.oDomContainer) { this.logger.log("Container not found in document.", "error"); }

        if (!this.oDomContainer.id) {
            this.oDomContainer.id = Dom.generateId();
        }
        if (!id) {
            id = this.oDomContainer.id + "_t";
        }

        /**
        * The unique id associated with the CalendarGroup
        * @property id
        * @type String
        */
        this.id = id;

        /**
        * The unique id associated with the CalendarGroup container
        * @property containerId
        * @type String
        */
        this.containerId = this.oDomContainer.id;

        this.logger = new YAHOO.widget.LogWriter("CalendarGroup " + this.id);
        this.initEvents();
        this.initStyles();

        /**
        * The collection of Calendar pages contained within the CalendarGroup
        * @property pages
        * @type YAHOO.widget.Calendar[]
        */
        this.pages = [];

        Dom.addClass(this.oDomContainer, CalendarGroup.CSS_CONTAINER);
        Dom.addClass(this.oDomContainer, CalendarGroup.CSS_MULTI_UP);

        /**
        * The Config object used to hold the configuration variables for the CalendarGroup
        * @property cfg
        * @type YAHOO.util.Config
        */
        this.cfg = new YAHOO.util.Config(this);

        /**
        * The local object which contains the CalendarGroup's options
        * @property Options
        * @type Object
        */
        this.Options = {};

        /**
        * The local object which contains the CalendarGroup's locale settings
        * @property Locale
        * @type Object
        */
        this.Locale = {};

        this.setupConfig();

        if (config) {
            this.cfg.applyConfig(config, true);
        }

        this.cfg.fireQueue();

        // OPERA HACK FOR MISWRAPPED FLOATS
        if (YAHOO.env.ua.opera){
            this.renderEvent.subscribe(this._fixWidth, this, true);
            this.showEvent.subscribe(this._fixWidth, this, true);
        }

        this.logger.log("Initialized " + this.pages.length + "-page CalendarGroup", "info");
    }
function(id, container, config) {

        // Normalize 2.4.0, pre 2.4.0 args
        var nArgs = this._parseArgs(arguments);

        id = nArgs.id;
        container = nArgs.container;
        config = nArgs.config;

        this.oDomContainer = Dom.get(container);
        if (!this.oDomContainer) { this.logger.log("Container not found in document.", "error"); }

        if (!this.oDomContainer.id) {
            this.oDomContainer.id = Dom.generateId();
        }
        if (!id) {
            id = this.oDomContainer.id + "_t";
        }

        /**
        * The unique id associated with the CalendarGroup
        * @property id
        * @type String
        */
        this.id = id;

        /**
        * The unique id associated with the CalendarGroup container
        * @property containerId
        * @type String
        */
        this.containerId = this.oDomContainer.id;

        this.logger = new YAHOO.widget.LogWriter("CalendarGroup " + this.id);
        this.initEvents();
        this.initStyles();

        /**
        * The collection of Calendar pages contained within the CalendarGroup
        * @property pages
        * @type YAHOO.widget.Calendar[]
        */
        this.pages = [];

        Dom.addClass(this.oDomContainer, CalendarGroup.CSS_CONTAINER);
        Dom.addClass(this.oDomContainer, CalendarGroup.CSS_MULTI_UP);

        /**
        * The Config object used to hold the configuration variables for the CalendarGroup
        * @property cfg
        * @type YAHOO.util.Config
        */
        this.cfg = new YAHOO.util.Config(this);

        /**
        * The local object which contains the CalendarGroup's options
        * @property Options
        * @type Object
        */
        this.Options = {};

        /**
        * The local object which contains the CalendarGroup's locale settings
        * @property Locale
        * @type Object
        */
        this.Locale = {};

        this.setupConfig();

        if (config) {
            this.cfg.applyConfig(config, true);
        }

        this.cfg.fireQueue();

        // OPERA HACK FOR MISWRAPPED FLOATS
        if (YAHOO.env.ua.opera){
            this.renderEvent.subscribe(this._fixWidth, this, true);
            this.showEvent.subscribe(this._fixWidth, this, true);
        }

        this.logger.log("Initialized " + this.pages.length + "-page CalendarGroup", "info");
    }
function ( id , container , config ) { // Normalize 2.4.0, pre 2.4.0 args var nArgs = this . _parseArgs ( arguments ) ; id = nArgs . id ; container = nArgs . container ; config = nArgs . config ; this . oDomContainer = Dom . get ( container ) ; if ( ! this . oDomContainer ) { this . logger . log ( "Container not found in document." , "error" ) ; } if ( ! this . oDomContainer . id ) { this . oDomContainer . id = Dom . generateId ( ) ; } if ( ! id ) { id = this . oDomContainer . id + "_t" ; } /**
        * The unique id associated with the CalendarGroup
        * @property id
        * @type String
        */ this . id = id ; /**
        * The unique id associated with the CalendarGroup container
        * @property containerId
        * @type String
        */ this . containerId = this . oDomContainer . id ; this . logger = new YAHOO . widget . LogWriter ( "CalendarGroup " + this . id ) ; this . initEvents ( ) ; this . initStyles ( ) ; /**
        * The collection of Calendar pages contained within the CalendarGroup
        * @property pages
        * @type YAHOO.widget.Calendar[]
        */ this . pages = [ ] ; Dom . addClass ( this . oDomContainer , CalendarGroup . CSS_CONTAINER ) ; Dom . addClass ( this . oDomContainer , CalendarGroup . CSS_MULTI_UP ) ; /**
        * The Config object used to hold the configuration variables for the CalendarGroup
        * @property cfg
        * @type YAHOO.util.Config
        */ this . cfg = new YAHOO . util . Config ( this ) ; /**
        * The local object which contains the CalendarGroup's options
        * @property Options
        * @type Object
        */ this . Options = { } ; /**
        * The local object which contains the CalendarGroup's locale settings
        * @property Locale
        * @type Object
        */ this . Locale = { } ; this . setupConfig ( ) ; if ( config ) { this . cfg . applyConfig ( config , true ) ; } this . cfg . fireQueue ( ) ; // OPERA HACK FOR MISWRAPPED FLOATS if ( YAHOO . env . ua . opera ) { this . renderEvent . subscribe ( this . _fixWidth , this , true ) ; this . showEvent . subscribe ( this . _fixWidth , this , true ) ; } this . logger . log ( "Initialized " + this . pages . length + "-page CalendarGroup" , "info" ) ; }
Initializes the calendar group. All subclasses must call this method in order for the
group to be initialized properly.
@method init
@param {String} id optional The id of the table element that will represent the CalendarGroup widget. As of 2.4.0, this argument is optional.
@param {String | HTMLElement} container The id of the container div element that will wrap the CalendarGroup table, or a reference to a DIV element which exists in the document.
@param {Object} config optional The configuration object containing the initial configuration values for the CalendarGroup.
Initializes the calendar group . All subclasses must call this method in order for the group to be initialized properly .