ActionDictionary::getActionNames

  1. Bitrix24 API (v. 23.675.0)
  2. sender
  3. ActionDictionary
  4. getActionNames
  • Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/access/actiondictionary.php
  • Класс: Bitrix\Sender\Access\ActionDictionary
  • Вызов: ActionDictionary::getActionNames
static function getActionNames(): array
{
	$class = new \ReflectionClass(__CLASS__);
	$constants = $class->getConstants();
	foreach ($constants as $name => $value)
	{
		if (strpos($name, self::PREFIX) !== 0)
		{
			unset($constants[$name]);
		}
	}

	return array_flip($constants);
}

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