Documentation

block.crmPermission.php

Tags
copyright

CiviCRM LLC https://civicrm.org/licensing

Table of Contents

Functions

smarty_block_crmPermission()  : string
Show block conditionally, based on the permission

Functions

smarty_block_crmPermission()

Show block conditionally, based on the permission

smarty_block_crmPermission(array<string|int, mixed> $params, mixed $content, CRM_Core_Smarty &$smarty, bool &$repeat) : string

/**

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

Array containing the permission/s to check and optional contact ID.

$content : mixed
$smarty : CRM_Core_Smarty

The Smarty object.

$repeat : bool

Repeat is true for the opening tag, false for the closing tag

Tags
noinspection

PhpUnused

Return values
string

The content in the black, if allowed.


        
On this page

Search results