Function __global->tooltip

Definitions

sources/templates_tooltip.php

  • Show a tooltip, automatic inline/block context detection.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

Parameters

Name Type Default Set Range Description
$label mixed required parameter N/A N/A What the tooltip is on, format depends on $auto_escape (string or Tempcode)
$tooltip mixed required parameter N/A N/A The tooltip, 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)

Return

  • The tooltip
  • Type: Tempcode
  • Set: N/A
  • Range: N/A