function.isValueChange.php
CiviCRM's Smarty looped value change plugin
Checks for change in value of given key
Tags
Table of Contents
Functions
- smarty_function_isValueChange() : null
- Smarty function for checking change in a property's value, for example when looping through an array.
Functions
smarty_function_isValueChange()
Smarty function for checking change in a property's value, for example when looping through an array.
smarty_function_isValueChange(array<string|int, mixed> $params, CRM_Core_Smarty &$smarty) : null
Smarty param: string $key unique identifier for this property (REQUIRED) Smarty param: mixed $value the current value of the property Smarty param: string $assign name of template variable to which to assign result
Parameters
- $params : array<string|int, mixed>
-
Template call's parameters.
- $smarty : CRM_Core_Smarty
-
The Smarty object.