Documentation

replaceCharset

string public static
\Bitrix\Fileman\Block\Editor::replaceCharset(
 string $html,
 string $charset = '#CHARSET#',
 boolean $add = false
);

This static method changes encoding in HTML string.

Parameters

ParameterDescriptionVersion
$htmlHTML string.
$charsetEncoding.
$addYes/no to add encoding, when it is not specified in HTML.


© «Bitrix24», 2001-2024
Up