createInstance
\Bitrix\Iblock\Template\Functions\FunctionBase public static \Bitrix\Iblock\Template\Functions\Fabric::createInstance( string $functionName, mixed $data = null );
Method creates an instance object by its function name. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$functionName | Function name in lower case. | |
$data | Additional data for function instance. |
Example
© «Bitrix24», 2001-2024