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

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

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

	return $this;
}