Documentation

addFieldBefore

void public
\Bitrix\Report\VisualConstructor\Form::addFieldBefore(
 \Bitrix\Report\VisualConstructor\Fields\Base $newField,
 \Bitrix\Report\VisualConstructor\Fields\Base $targetField
);

Method adds field in front of target field. Non-static method.

Parameters

ParameterDescriptionVersion
$newFieldAdded field parameters.
$targetFieldTarget field, with added new field in front of it.

Example



© «Bitrix24», 2001-2024