Documentation

convertModifiersToArray

\Bitrix\Iblock\Template\array[string]string public static
\Bitrix\Iblock\Template\Helper::convertModifiersToArray(
 \Bitrix\Iblock\Template\array[string]string $template = null
);

Method returns $template with additional description. The field TEMPLATE returns without modifiers and each modifier returns in a separate field. Static method.

Parameters

ParameterDescriptionVersion
$templateTemplate data in format, retrieved from database.

Example



© «Bitrix24», 2001-2024
Up