public/javascripts/yui/calendar/calendar.js
function(fnName, args) {
        var pageCount = this.cfg.getProperty(DEF_CFG.PAGES.key);

        for (var p=0;p<pageCount;++p) {
            var page = this.pages[p];
            if (page[fnName]) {
                var fn = page[fnName];
                fn.call(page, args);
            }
        } 
    }
function(fnName, args) {
        var pageCount = this.cfg.getProperty(DEF_CFG.PAGES.key);

        for (var p=0;p<pageCount;++p) {
            var page = this.pages[p];
            if (page[fnName]) {
                var fn = page[fnName];
                fn.call(page, args);
            }
        } 
    }
function ( fnName , args ) { var pageCount = this . cfg . getProperty ( DEF_CFG . PAGES . key ) ; for ( var p = 0 ; p < pageCount ; ++ p ) { var page = this . pages [ p ] ; if ( page [ fnName ] ) { var fn = page [ fnName ] ; fn . call ( page , args ) ; } } }
Calls a function within all child Calendars within this CalendarGroup.
@method callChildFunction
@param {String}  fnName  The name of the function
@param {Array}  args  The arguments to pass to the function
Calls a function within all child Calendars within this CalendarGroup .