Documentation

modifier.crmReplace.php

Tags
copyright

CiviCRM LLC https://civicrm.org/licensing

Table of Contents

Functions

smarty_modifier_crmReplace()  : string
Replace the value of an attribute in the input string. Assume the the attribute is well formed, of the type name="value". If no replacement is mentioned the value is inserted at the end of the form element

Functions

smarty_modifier_crmReplace()

Replace the value of an attribute in the input string. Assume the the attribute is well formed, of the type name="value". If no replacement is mentioned the value is inserted at the end of the form element

smarty_modifier_crmReplace(string $string, string $attribute, string $value) : string
Parameters
$string : string

The html to be tweaked with.

$attribute : string

The attribute to modify.

$value : string

The new attribute value.

Return values
string

the new modified html string


        
On this page

Search results