Documentation

function.crmCrudLink.php

Tags
copyright

CiviCRM LLC

Table of Contents

Functions

smarty_function_crmCrudLink()  : string
Dynamically construct a link based on an entity-type and entity-id.

Functions

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
Return values
string

        
On this page

Search results