Documentation

writeItem

void public
\Bitrix\Main\XmlWriter::writeItem(
 array $item,
 string $wrapperTag = ''
);

Non-static method writes array's item into XML file according to its structure (with nesting).

Parameters

ParameterDescriptionVersion
$itemData to be written.
$wrapperTagWhen != '' data is moved into this tag.

Example



© «Bitrix24», 2001-2024
Up