Documentation

makeFileName

string public static
\Bitrix\Iblock\Template\Helper::makeFileName(
 \Bitrix\Iblock\InheritedProperty\BaseTemplate $ipropTemplates,
 string $templateName,
 array $fields,
 array $file
);

Method returns file name, formatted using a template. Static method.

Parameters

ParameterDescriptionVersion
$ipropTemplatesTemplates for search.
$templateNameTempalte name, selected from $ipropTemplates.
$fieldsArray with fields for template processing.
$fileArray contains file data in format defined using $ _FILES.

Example



© «Bitrix24», 2001-2024
Up