• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/bizproctype/usertypepropertyemployee.php
  • Класс: BitrixIblockBizprocTypeUserTypePropertyEmployee
  • Вызов: UserTypePropertyEmployee::renderControlSingle
static function renderControlSingle(FieldType $fieldType, array $field, $value, $allowSelection, $renderMode)
	{
		$value =  static::fixUserPrefix($value);
		$renderResult = parent::renderControlSingle($fieldType, $field, $value, false, $renderMode);

		if ($allowSelection)
		{
			$selectorValue = CBPActivity::isExpression($value) ? $value : null;
			$renderResult .= static::renderControlSelector($field, $selectorValue, true, 'employee', $fieldType);
		}

		return $renderResult;
	}