get_total(string $search_term = ''): integer
Get total number of rows.
Obtains the total number of rows within the table, and is used to create the necessary pagination link.
Only applicable if the AJAX search box has been submitted, and is the term being searched for.
The total number of rows available for this table.
get_rows(integer $start,string $search_term = '',string $order_by = 'id asc'): array
Get table rows to display.
Gathers and formats the exact table rows to display within the web browser. This method is called when initially viewing the template, plus for AJAX based search, pagination, and sorting.
The number to start retrieving rows at, used within the LIMIT clause of the SQL statement.
Only applicable if the AJAX based search base is submitted, and is the term being searched form.
Must have a default value, but changes when the sort arrows in column headers are clicked. Used within the ORDER BY clause in the SQL statement.
An array of associative arrays giving key-value pairs of the rows to display.