function.help.php
Tags
Table of Contents
Functions
- smarty_function_help() : string
- Adds inline help.
Functions
smarty_function_help()
Adds inline help.
smarty_function_help(array<string|int, mixed> $params, Smarty $smarty) : string
This function adds a call to the js function which loads the help text in a pop-up.
It does a lot of work to get the title which it passes into the crmHelp function but the main reason it gets that title is because it adds that to the css as title & aria-label. Since it's loaded it somewhat makes sense to pass it into CRM.help but .. it's confusing.
Parameters
- $params : array<string|int, mixed>
-
The function params.
- $smarty : Smarty
-
Smarty object.
Return values
string —the help html to be inserted