Function __global->map_table_screen
Definitions
sources/templates_map_table.php
- Get the Tempcode for a map screen. (a map shows a single entry, with the field name for each field to the left of the value).
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$title | Tempcode | required parameter | N/A | N/A | The title of the map screen; should be out of get_screen_title |
$fields | array | required parameter | N/A | N/A | An array of mappings between title and value (each mapping being a field) |
$auto_escape | boolean | required parameter | N/A | N/A | Whether to automatically escape each plain-text entry so that it cannot contain HTML (ignored for Tempcode values) |
$text | ?Tempcode | Null | N/A | N/A | Text to show (null: none) |
$buttons | ?Tempcode | Null | N/A | N/A | Buttons to show (null: none) |
$responsive | boolean | False | N/A | N/A | Use a responsive layout for the table (too much to fit in 2 columns on a small screen) |
Return
- The generated map screen
- Type: Tempcode
- Set: N/A
- Range: N/A