public/javascripts/yui/paginator/paginator-debug.js
function () {
        if (this.get('rendered')) {
            return this;
        }

        var template = this.get('template'),
            state    = this.getState(),
            // ex. yui-pg0-1 (first paginator, second container)
            id_base  = Paginator.ID_BASE + this.get('id') + '-',
            i, len;

        // Assemble the containers, keeping them hidden
        for (i = 0, len = this._containers.length; i < len; ++i) {
            this._renderTemplate(this._containers[i],template,id_base+i,true);
        }

        // Show the containers if appropriate
        this.updateVisibility();

        // Set render attribute manually to support its readOnly contract
        if (this._containers.length) {
            this.setAttributeConfig('rendered', { value: true });

            this.fireEvent('render', state);
            // For backward compatibility
            this.fireEvent('rendered', state);
        }

        return this;
    }
function () {
        if (this.get('rendered')) {
            return this;
        }

        var template = this.get('template'),
            state    = this.getState(),
            // ex. yui-pg0-1 (first paginator, second container)
            id_base  = Paginator.ID_BASE + this.get('id') + '-',
            i, len;

        // Assemble the containers, keeping them hidden
        for (i = 0, len = this._containers.length; i < len; ++i) {
            this._renderTemplate(this._containers[i],template,id_base+i,true);
        }

        // Show the containers if appropriate
        this.updateVisibility();

        // Set render attribute manually to support its readOnly contract
        if (this._containers.length) {
            this.setAttributeConfig('rendered', { value: true });

            this.fireEvent('render', state);
            // For backward compatibility
            this.fireEvent('rendered', state);
        }

        return this;
    }
function ( ) { if ( this . get ( 'rendered' ) ) { return this ; } var template = this . get ( 'template' ) , state = this . getState ( ) , // ex. yui-pg0-1 (first paginator, second container) id_base = Paginator . ID_BASE + this . get ( 'id' ) + '-' , i , len ; // Assemble the containers, keeping them hidden for ( i = 0 , len = this . _containers . length ; i < len ; ++ i ) { this . _renderTemplate ( this . _containers [ i ] , template , id_base + i , true ) ; } // Show the containers if appropriate this . updateVisibility ( ) ; // Set render attribute manually to support its readOnly contract if ( this . _containers . length ) { this . setAttributeConfig ( 'rendered' , { value : true } ) ; this . fireEvent ( 'render' , state ) ; // For backward compatibility this . fireEvent ( 'rendered' , state ) ; } return this ; }
Render the pagination controls per the format attribute into the
specified container nodes.
@method render
@return the Paginator instance
@chainable
Render the pagination controls per the format attribute into the specified container nodes .