$columns
$columns :
Data table for the list of notifications on the /members/notifications.tpl template.
get_attributes(array $data = array())
Parse attributes within <a:function> tag.
Passes the attributes contained within the
( @param array $data The attributes contained within the
array | $data |
get_total(string $search_term = '')
Get total rows.
Get the total number of rows available for this table. This is used to determine pagination links.
string | $search_term | Only applicable if the AJAX search box has been submitted, and is the term being searched for. @return int The total number of rows available for this table. |
get_rows(integer $start,\apex\users\table\string $search_term = '',\apex\users\table\string $order_by = 'id asc')
Get rows to display
Gets the actual rows to display to the web browser. Used for when initially displaying the table, plus AJAX based search, sort, and pagination.
integer | $start | The number to start retrieving rows at, used within the LIMIT clause of the SQL statement. @param string $search_term Only applicable if the AJAX based search base is submitted, and is the term being searched form. @param string $order_by 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.
|
\apex\users\table\string | $search_term | |
\apex\users\table\string | $order_by |
format_row(array $row)
Format a single row.
Retrieves raw data from the database, which must be formatted into user readable format (eg. format amounts, dates, etc.).
array | $row | The row from the database.
|