public/javascripts/yui/datatable/datatable.js
function (create) {
    var above_id = this._sId + '-paginator0',
        below_id = this._sId + '-paginator1',
        above    = Dom.get(above_id),
        below    = Dom.get(below_id);

    if (create && (!above || !below)) {
        // One above and one below the table
        if (!above) {
            above    = document.createElement('div');
            above.id = above_id;
            Dom.addClass(above, DT.CLASS_PAGINATOR);

            this._elContainer.insertBefore(above,this._elContainer.firstChild);
        }

        if (!below) {
            below    = document.createElement('div');
            below.id = below_id;
            Dom.addClass(below, DT.CLASS_PAGINATOR);

            this._elContainer.appendChild(below);
        }
    }

    return [above,below];
}
function (create) {
    var above_id = this._sId + '-paginator0',
        below_id = this._sId + '-paginator1',
        above    = Dom.get(above_id),
        below    = Dom.get(below_id);

    if (create && (!above || !below)) {
        // One above and one below the table
        if (!above) {
            above    = document.createElement('div');
            above.id = above_id;
            Dom.addClass(above, DT.CLASS_PAGINATOR);

            this._elContainer.insertBefore(above,this._elContainer.firstChild);
        }

        if (!below) {
            below    = document.createElement('div');
            below.id = below_id;
            Dom.addClass(below, DT.CLASS_PAGINATOR);

            this._elContainer.appendChild(below);
        }
    }

    return [above,below];
}
function ( create ) { var above_id = this . _sId + '-paginator0' , below_id = this . _sId + '-paginator1' , above = Dom . get ( above_id ) , below = Dom . get ( below_id ) ; if ( create && ( ! above || ! below ) ) { // One above and one below the table if ( ! above ) { above = document . createElement ( 'div' ) ; above . id = above_id ; Dom . addClass ( above , DT . CLASS_PAGINATOR ) ; this . _elContainer . insertBefore ( above , this . _elContainer . firstChild ) ; } if ( ! below ) { below = document . createElement ( 'div' ) ; below . id = below_id ; Dom . addClass ( below , DT . CLASS_PAGINATOR ) ; this . _elContainer . appendChild ( below ) ; } } return [ above , below ] ; }
Returns the default containers used for Paginators.  If create param is
passed, the containers will be created and added to the DataTable container.

@method _defaultPaginatorContainers
@param create {boolean} Create the default containers if not found
@private
Returns the default containers used for Paginators . If create param is passed the containers will be created and added to the DataTable container .