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
Parameter | Description | Version |
---|---|---|
$newField | Added field parameters. | |
$targetField | Target field, with added new field in front of it. |
Example
© «Bitrix24», 2001-2024