Actions

API15

JPagination/getListFooter

From Joomla! Documentation

< API15:JPagination
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Contents

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

<CodeExamplesForm />