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
Parameter | Description | Version |
---|---|---|
$document | Target document. | |
$sliceContent | Slice content entered the template. | |
$encoding | Encoding. |
© «Bitrix24», 2001-2024