CBPActivityExecutionResult::out

  1. Bitrix24 API (v. 23.675.0)
  2. bizproc
  3. CBPActivityExecutionResult
  4. out
  • Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/classes/general/constants.php
  • Класс: CBPActivityExecutionResult
  • Вызов: CBPActivityExecutionResult::out
static function out($v)
{
	$result = "";

	switch ($v)
	{
		case self::None:
			$result = "None";
			break;
		case self::Succeeded:
			$result = "Succeeded";
			break;
		case self::Canceled:
			$result = "Canceled";
			break;
		case self::Faulted:
			$result = "Faulted";
			break;
		case self::Uninitialized:
			$result = "Uninitialized";
			break;
		default:
			throw new Exception("UnknownActivityExecutionResult");
	}

	return $result;
}

Добавить комментарий