• Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/lib/activity/operator/baseoperator.php
  • Класс: BitrixBizprocActivityOperatorBaseOperator
  • Вызов: BaseOperator::toBaseType
protected function toBaseType(): void
{
	$baseType = $this->fieldType->getBaseType();
	$documentId = $this->fieldType->getDocumentId();
	if ($baseType === 'user')
	{
		$this->toCheck = CBPHelper::extractUsers($this->toCheck, $documentId);
		$this->value = CBPHelper::extractUsers($this->value, $documentId);
	}
	elseif ($baseType === 'select')
	{
		if (is_array($this->toCheck) && CBPHelper::isAssociativeArray($this->toCheck))
		{
			$this->toCheck = array_keys($this->toCheck);
		}
	}
}