• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/dispatcher.php
  • Класс: BitrixTasksDOES
  • Вызов: DOES::getDescription
public function getDescription()
{
	$list = $this->getClasses();

	$result = array();
	foreach($list as $item)
	{
		$methods = get_class_methods($item['CLASS']);
		/** @var PublicAction $class */
		$class = $item['CLASS'];
		$forbiddenMethods = array_flip(array_map('ToLower', $class::getForbiddenMethods()));

		if(is_array($methods))
		{
			foreach($methods as $method)
			{
				$method = ToLower($method);

				if(!isset($forbiddenMethods[$method]))
				{
					if(is_callable(array($item['CLASS'], $method)))
					{
						$info = static::getMethodInfo($item['CLASS'], $method);

						$query = $item['ENTITY'].'.'.$method;
						$info['QUERY'] = $query;

						$result[$query] = $info;
					}
				}
			}
		}
	}

	//ksort($result);

	return $result;
}