public/javascripts/yui/calendar/calendar.js
function(fnName, fn) {
        var pageCount = this.cfg.getProperty(DEF_CFG.PAGES.key);
    
        for (var p=0;p<pageCount;++p) {
            this.pages[p][fnName] = fn;
        }
    }
function(fnName, fn) {
        var pageCount = this.cfg.getProperty(DEF_CFG.PAGES.key);
    
        for (var p=0;p<pageCount;++p) {
            this.pages[p][fnName] = fn;
        }
    }
function ( fnName , fn ) { var pageCount = this . cfg . getProperty ( DEF_CFG . PAGES . key ) ; for ( var p = 0 ; p < pageCount ; ++ p ) { this . pages [ p ] [ fnName ] = fn ; } }
Adds a function to all child Calendars within this CalendarGroup.
@method setChildFunction
@param {String}  fnName  The name of the function
@param {Function}  fn   The function to apply to each Calendar page object
Adds a function to all child Calendars within this CalendarGroup .