• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/classes/general/iblock_rights.php
  • Класс: CIBlockRights
  • Вызов: CIBlockRights::LetterToOperations
static function LetterToOperations($letter = '')
{
	if(!isset(self::$arLetterToOperations))
	{
		self::$arLetterToOperations = array();
		foreach(CIBlockRights::LetterToTask() as $l2 => $TASK_ID)
		{
			self::$arLetterToOperations[$l2] = array();
			foreach(CTask::GetOperations($TASK_ID, true) as $op)
				self::$arLetterToOperations[$l2][$op] = $op;
		}
	}

	if($letter == '')
		return self::$arLetterToOperations;
	elseif(array_key_exists($letter, self::$arLetterToOperations))
		return self::$arLetterToOperations[$letter];
	else
		return array();
}