• Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/lib/activity/baseactivity.php
  • Класс: BitrixBizprocActivityBaseActivity
  • Вызов: BaseActivity::prepareProperties
protected function prepareProperties(): void
{
	$fieldsMap = static::getPropertiesDialogMap();

	foreach (array_keys($this->arProperties) as $propertyId)
	{
		$propertyValue = $this->getRawProperty($propertyId);

		$type = '';
		if (isset($this->arPropertiesTypes) && isset($this->arPropertiesTypes[$propertyId]))
		{
			$type = $this->arPropertiesTypes[$propertyId]['Type'] ?? '';
		}
		if (!$type && isset($fieldsMap[$propertyId]))
		{
			$type = $fieldsMap[$propertyId]['Type'] ?? '';
		}

		$parsedValue = $this->ParseValue($propertyValue);
		$this->preparedProperties[$propertyId] = $this->convertPropertyValue($type, $parsedValue);
	}
}