Documentation

GenericList.template.php

Simple Machines Forum (SMF)

Tags
author

Simple Machines https://www.simplemachines.org

copyright

2025 Simple Machines and individual contributors

license

https://www.simplemachines.org/about/smf/license.php BSD

version
3.0

Alpha 2

Table of Contents

Functions

template_show_list()  : mixed
This template handles displaying a list
template_additional_rows()  : mixed
This template displays additional rows above or below the list.

Functions

template_show_list()

This template handles displaying a list

template_show_list([string $list_id = null ]) : mixed
Parameters
$list_id : string = null

The list ID. If null, uses Utils::$context['default_list'].

template_additional_rows()

This template displays additional rows above or below the list.

template_additional_rows(string $row_position, array<string|int, mixed> $cur_list) : mixed
Parameters
$row_position : string

The position ('top', 'bottom', etc.)

$cur_list : array<string|int, mixed>

An array with the data for the current list


        
On this page

Search results