function.sectionTotal.php
CiviCRM's Smarty report section totals plugin
Prints the correct report section total based on the given key and order in the section hierarchy
Tags
Table of Contents
Functions
- smarty_function_sectionTotal() : string
- Smarty block function for printing the correct report section total
Functions
smarty_function_sectionTotal()
Smarty block function for printing the correct report section total
This is called from table.tpl but we aim to remove from there.
smarty_function_sectionTotal(array<string|int, mixed> $params) : string
Smarty param: string $key value of the current section column Smarty param: int $depth the depth of the current section (sections declared first have lesser depth, starting at 0)
Parameters
- $params : array<string|int, mixed>
-
Template call's parameters.
Return values
string —the string, translated by gettext