Documentation

__construct

 public
\Bitrix\Main\UserConsent\DataProvider::__construct(
 string $code,
 string $name,
 array|callable $data,
 string $editUrl,
 array|callable $data
);

Constructor for DataProvider class.

Parameters

ParameterDescriptionVersion
$codeCode.
$nameName.
$dataDate.
$editUrlData update page URL.
$dataData.

Example



© «Bitrix24», 2001-2022
Up