...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/widget/data/datasource.php
- Класс: Bitrix\Crm\Widget\Data\DataSource
- Вызов: DataSource::__construct
public function __construct(array $settings, $userID = 0, $enablePermissionCheck = true) { $this->settings = $settings; if(!is_int($userID)) { $userID = (int)$userID; } if($userID <= 0) { $userID = \CCrmSecurityHelper::GetCurrentUserID(); } $this->userID = $userID; if(!is_bool($enablePermissionCheck)) { $enablePermissionCheck = (bool)$enablePermissionCheck; } $this->enablePermissionCheck = $enablePermissionCheck; $this->filterContextData = array(); }