Documentation

function.crmSigner.php

Tags
copyright

CiviCRM LLC

Table of Contents

Functions

smarty_function_crmSigner()  : mixed
Generate a secure signature

Functions

smarty_function_crmSigner()

Generate a secure signature

smarty_function_crmSigner(array<string|int, mixed> $params, mixed &$smarty) : mixed

{code} {crmSigner var=mySig extra=123} var urlParams = ts={$mySig.ts}&extra={$mySig.extra}&sig={$mySig.signature} {endcode}

Parameters
$params : array<string|int, mixed>

Array with keys:

  • var: string, a smarty variable to generate
  • ts: int, the current time (if omitted, autogenerated)
  • any other vars are put into the signature (sorted)
$smarty : mixed

        
On this page

Search results