Function __global->map_table_field

Definitions

sources/templates_map_table.php

  • Get the Tempcode for a map field.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

Parameters

Name Type Default Set Range Description
$name mixed required parameter N/A N/A The field title, provided in plain-text format or as HTML via do_lang_tempcode/protect_from_escaping (string or Tempcode)
$value mixed required parameter N/A N/A The field value, format depends on $auto_escape (string or Tempcode)
$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)
$abbr string Blank (empty string) N/A N/A Field abbreviation (blank: none)

Return

  • The generated map field
  • Type: Tempcode
  • Set: N/A
  • Range: N/A