API15

API15:JPagination/getListFooter

From Joomla! Documentation

Description

Return the pagination footer

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

getListFooter()


Returns

string Pagination footer

Defined in

libraries/joomla/html/pagination.php

Importing

jimport( 'joomla.html.pagination' );

Source Body

function getListFooter()
{
        global $mainframe;

        $list = array();
        $list['limit']                  = $this->limit;
        $list['limitstart']             = $this->limitstart;
        $list['total']                  = $this->total;
        $list['limitfield']             = $this->getLimitBox();
        $list['pagescounter']   = $this->getPagesCounter();
        $list['pageslinks']             = $this->getPagesLinks();

        $chromePath             = JPATH_THEMES.DS.$mainframe->getTemplate().DS.'html'.DS.'pagination.php';
        if (file_exists( $chromePath ))
        {
                require_once( $chromePath );
                if (function_exists( 'pagination_list_footer' )) {
                        return pagination_list_footer( $list );
                }
        }
        return $this->_list_footer($list);
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

Code Examples