replace
string public static \Bitrix\Main\UserConsent\Text::replace( string $template, array $data, boolean $isCut = false );
Static method for modifying the text. Returns updated template.
Parameters
Parameter | Description | Version |
---|---|---|
$template | Template text. | |
$data | Data for replacement. | |
$isCut | true - cut off empty areas, false - do not cut. |
Example
© «Bitrix24», 2001-2024
Up