Documentation

addFieldAfter

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

Method adds field after target field. Non-static method.

Parameters

ParameterDescriptionVersion
$newFieldAdded field parameters.
$targetFieldTarget field after which the new field is added

Example



© «Bitrix24», 2001-2024