Manages a string substitution set
author | etessore |
---|---|
version | 1.0.0 |
package | classes |
__construct()
replace_markup()
set_markup(string | array $key, string | array $markup) : \SubstitutionTemplate
string
array
the searches to be substituted
string
array
html markups
\Exception |
if $key and $markup have different number of elements |
---|
\SubstitutionTemplate
$this for chainabilityset_multi_markup(array $ass_array)
array
an associative array of keys and markups
set_tpl(string $tpl)
string
the template
$static_markup : array
$tpl : string