Documentation

modifier.crmStripAlternatives.php

Tags
copyright

CiviCRM LLC https://civicrm.org/licensing

Table of Contents

Functions

smarty_modifier_crmStripAlternatives()  : string
Given an ezComponents-parsed representation of a text with alternatives return only the first one

Functions

smarty_modifier_crmStripAlternatives()

Given an ezComponents-parsed representation of a text with alternatives return only the first one

smarty_modifier_crmStripAlternatives(string $full) : string
Parameters
$full : string

All alternatives as a long string (or some other text).

Return values
string

only the first alternative found (or the text without alternatives)


        
On this page

Search results