modifier.crmAddClass.php
Tags
Table of Contents
Functions
- smarty_modifier_crmAddClass() : string
- Add a class to an html element
Functions
smarty_modifier_crmAddClass()
Add a class to an html element
smarty_modifier_crmAddClass(string $string, string $class) : string
Parameters
- $string : string
-
The html to be tweaked.
- $class : string
-
The new class or classes to add (separate with a space).
Return values
string —the new modified html string