• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/dispatch/state.php
  • Класс: BitrixSenderDispatchState
  • Вызов: State::getList
static function getList()
{
	$class = new ReflectionClass(__CLASS__);
	$constants = $class->getConstants();

	$list = array();
	foreach ($constants as $id => $value)
	{
		if (in_array($value, array(self::INIT)))
		{
			continue;
		}

		$list[$value] = self::getStateName($value);
	}

	return $list;
}