block.url.php
Table of Contents
Functions
- smarty_block_url() : string
- Generate a URL. This is thin wrapper for the Civi::url() helper.
Functions
smarty_block_url()
Generate a URL. This is thin wrapper for the Civi::url() helper.
smarty_block_url(array<string|int, mixed> $params, string $text, CRM_Core_Smarty &$smarty, bool &$repeat) : string
Parameters
- $params : array<string|int, mixed>
-
The following parameters have specific meanings:
- "assign" (string) - Assign output to a Smarty variable
- "flags" (string) - List of options, as per
Civi::url(...$flags)
All other parameters will be passed-through as variables for the URL.
- $text : string
-
Contents of block.
- $smarty : CRM_Core_Smarty
-
The Smarty object.
- $repeat : bool
-
Repeat is true for the opening tag, false for the closing tag