Documentation

fillDocumentBySliceContent

boolean public static
\Bitrix\Fileman\Block\Editor::fillDocumentBySliceContent(
 \Bitrix\Main\Web\DOM\Document $document,
 string $sliceContent,
 string $encoding = null
);

This static method fills in a template (as DOM document) by slice content. Result is DOM document.

Parameters

ParameterDescriptionVersion
$documentTarget document.
$sliceContentSlice content entered the template.
$encodingEncoding.


© «Bitrix24», 2001-2024
Up