Documentation

fillTemplateBySliceContent

string public static
\Bitrix\Fileman\Block\Editor::fillTemplateBySliceContent(
 string $template,
 string $sliceContent,
 string $encoding = null
);

This static method fills in a template (as HTML) by slice content. The result is a string.

Parameters

ParameterDescriptionVersion
$templateTarget template.
$sliceContentSlice content entered into template.
$encodingEncoding.


© «Bitrix24», 2001-2024
Up