Documentation

QueryChainElement Constructor

 public
\Bitrix\Main\Entity\QueryChainElement::__construct(
 \Bitrix\Main\Entity\Field|array|\Bitrix\Main\Entity\Base $element,
 array $parameters = array()
);

This non-static method is called when creating a class instance. It allows to modify it when creating an object.

Format values:

  1. Field - standard scalar field;
  2. ReferenceField - indicate other object;
  3. array(Base, ReferenceField) - reference from other object to the current;
  4. Base - all object fields

Parameters

ParameterDescriptionVersion
$element
$parameters

Exceptions

  • \Exception

Example



© «Bitrix24», 2001-2024
Up