Documentation

__construct

public static function
\Bitrix\Sale\Services\Base\RestrictionInfo::__construct(
	string $restrictionType,
	array $options=[]
);

Class constructor RestrictionInfo.

Parameters


ParametersDescriptionVersion
$restrictionTypeRestriction type. Defined as follows:
  • if this is a restriction from namespace Bitrix\*, then the class name is without namespaces === type;
  • in case this is a custom restriction, the full class name with namespace === type.
$optionsRestriction parameters. It's a array type key -> value.


© «Bitrix24», 2001-2024
Up