Navigation

Search

addSeparator

Description

Adds a separator with title given by attribute "title" after the current row in the table.

Syntax

void addSeparator ([string $title[, int $custom_table]])



Parameter $title

Expected type: String
Description: The title to use for this separator



Parameter $custom_table

Expected type: Integer
Description: The index in the $context['tables'] array corresponding to a custom table to use. If not specified, the current one will be used, or a new one will be created with the default values if no tables exist.


Notes

  • If there are no existing tables, will create one with default attributes.
  • If custom_table isn't specified, it will use the last table created,
  • If it is specified and doesn't exist the function will return false.
  • If the table is currently having data added by column this may have unpredictable visual results.
View all versions of this function