block.htxt.php
CiviCRM's Smarty gettext plugin
Tags
Table of Contents
Functions
- smarty_block_htxt() : string|null
- Smarty block function providing support for CiviCRM's helptext mechanism
Functions
smarty_block_htxt()
Smarty block function providing support for CiviCRM's helptext mechanism
smarty_block_htxt(array<string|int, mixed> $params, string $text, CRM_Core_Smarty $smarty, bool &$repeat) : string|null
Parameters
- $params : array<string|int, mixed>
-
Template call's parameters.
- $text : string
-
{ts} block contents from the template.
- $smarty : CRM_Core_Smarty
-
The Smarty object.
- $repeat : bool
-
Repeat is true for the opening tag, false for the closing tag
Return values
string|null —the string, translated by gettext