• Модуль: disk
  • Путь к файлу: ~/bitrix/modules/disk/lib/internals/controller.php
  • Класс: BitrixDiskInternalsController
  • Вызов: Controller::resolveAction
protected function resolveAction()
{
	$listOfActions = $this->normalizeListOfAction($this->listActions());
	$action = mb_strtolower($this->action);

	if(!isset($listOfActions[$action]))
	{
		$this->errorCollection[] = new Error(
			Loc::getMessage(
				'DISK_CONTROLLER_ERROR_UNKNOWN_ACTION',
				array('#ACTION#' => $this->sanitizeActionName($action))
			),
			self::ERROR_UNKNOWN_ACTION
		);
		return $this;
	}

	$this->realActionName = $action;
	$description = $listOfActions[$this->realActionName];
	$this->setAction($description['name'], $description);

	return $this;
}