ExpressionField Constructor
public \Bitrix\Main\Entity\ExpressionField::__construct( string $name, string $expression, array|string|null $buildFrom = null, array $parameters = array() );
This non-static method is called when creating a class instance and allows to modify it when creating an object. All fields in the expression must be indicated as percents (or as any other placeholder for sprintf),
and the real field name must be stored in $buildFrom array (= args for sprintf)
.
Parameters
Parameter | Description | Version |
---|---|---|
$name | ||
$expression | ||
$buildFrom | ||
$parameters |
Example
© «Bitrix24», 2001-2025
Up