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

	if(!isset($listOfActions[$action]))
	{
		$this->errorCollection->add(array(new Error(Loc::getMessage('LISTS_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;
}