• Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/classes/general/document.php
  • Класс: CBPDocument
  • Вызов: CBPDocument::getAllowableUserGroups
static function getAllowableUserGroups($parameterDocumentType)
{
	[$moduleId, $entity, $documentType] = CBPHelper::ParseDocumentId($parameterDocumentType);

	if ($moduleId <> '')
		CModule::IncludeModule($moduleId);

	if (class_exists($entity))
	{
		$result = call_user_func_array(array($entity, "GetAllowableUserGroups"), array($documentType));
		$result1 = array();
		foreach ($result as $key => $value)
			$result1[mb_strtolower($key)] = $value;
		return $result1;
	}

	return array();
}