public/javascripts/yui/container/container.js
function (footerContent) {

            var oFooter = this.footer || (this.footer = createFooter());

            if (footerContent.nodeName) {
                oFooter.innerHTML = "";
                oFooter.appendChild(footerContent);
            } else {
                oFooter.innerHTML = footerContent;
            }

            if (this._rendered) {
                this._renderFooter();
            }

            this.changeFooterEvent.fire(footerContent);
            this.changeContentEvent.fire();
        }
function (footerContent) {

            var oFooter = this.footer || (this.footer = createFooter());

            if (footerContent.nodeName) {
                oFooter.innerHTML = "";
                oFooter.appendChild(footerContent);
            } else {
                oFooter.innerHTML = footerContent;
            }

            if (this._rendered) {
                this._renderFooter();
            }

            this.changeFooterEvent.fire(footerContent);
            this.changeContentEvent.fire();
        }
function ( footerContent ) { var oFooter = this . footer || ( this . footer = createFooter ( ) ) ; if ( footerContent . nodeName ) { oFooter . innerHTML = "" ; oFooter . appendChild ( footerContent ) ; } else { oFooter . innerHTML = footerContent ; } if ( this . _rendered ) { this . _renderFooter ( ) ; } this . changeFooterEvent . fire ( footerContent ) ; this . changeContentEvent . fire ( ) ; }
Sets the Module's footer content to the HTML specified, or appends
the passed element to the footer. If no footer is present, one will
be automatically created. An empty string can be passed to the method
to clear the contents of the footer.
@method setFooter
@param {String} footerContent The HTML used to set the footer
As a convenience, non HTMLElement objects can also be passed into
the method, and will be treated as strings, with the footer innerHTML
set to their default toString implementations.
<em>OR</em>
@param {HTMLElement} footerContent The HTMLElement to append to
the footer
<em>OR</em>
@param {DocumentFragment} footerContent The document fragment containing
elements which are to be added to the footer
Sets the Module s footer content to the HTML specified or appends the passed element to the footer . If no footer is present one will be automatically created . An empty string can be passed to the method to clear the contents of the footer .