function.crmCrudLink.php
Tags
Table of Contents
Functions
- smarty_function_crmCrudLink() : string
- Dynamically construct a link based on an entity-type and entity-id.
Functions
smarty_function_crmCrudLink()
Dynamically construct a link based on an entity-type and entity-id.
smarty_function_crmCrudLink(array<string|int, mixed> $params, CRM_Core_Smarty &$smarty) : string
Parameters
- $params : array<string|int, mixed>
-
Array with keys:
- entity|table: string
- id: int
- action: string, 'view', 'update', 'delete', etc [default: view]
- title: string [optionally override default title]
- $smarty : CRM_Core_Smarty