Back to Pagination class

Method _list_footer

protected string
(mixed $list)
Create the HTML for a list footer
Parameters
  • array $list Pagination list data structure.
Returns
  • string HTML for a list footer
Since
  • 1.5
Class: Pagination
Project: Joomla

Method _list_footer - Source code

/**
 * Create the HTML for a list footer
 *
 * @param   array  $list  Pagination list data structure.
 *
 * @return  string  HTML for a list footer
 *
 * @since   1.5
 */
protected function _list_footer($list)
{
    $html = "<div class=\"list-footer\">\n";
    $html .= "\n<div class=\"limit\">" . Text::_('JGLOBAL_DISPLAY_NUM') . $list['limitfield'] . "</div>";
    $html .= $list['pageslinks'];
    $html .= "\n<div class=\"counter\">" . $list['pagescounter'] . "</div>";
    $html .= "\n<input type=\"hidden\" name=\"" . $list['prefix'] . "limitstart\" value=\"" . $list['limitstart'] . "\">";
    $html .= "\n</div>";
    return $html;
}