• Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/lib/activity/propertiesdialog.php
  • Класс: BitrixBizprocActivityPropertiesDialog
  • Вызов: PropertiesDialog::getCurrentValue
public function getCurrentValue($valueKey, $default = null)
{
	if (is_array($valueKey))
	{
		if ($default === null && isset($valueKey['Default']))
		{
			$default = $valueKey['Default'];
		}
		$valueKey = isset($valueKey['FieldName']) ? $valueKey['FieldName'] : '';
	}

	$values = $this->getCurrentValues();
	return (is_array($values) && isset($values[$valueKey])) ? $values[$valueKey] : $default;
}