• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/engine/component/componentcontroller.php
  • Класс: BitrixMainEngineComponentComponentController
  • Вызов: ComponentController::create
protected function create($actionName)
{
	$config = $this->getActionConfig($actionName);
	$methodName = $this->generateActionMethodName($actionName);

	if (method_exists($this->component, $methodName))
	{
		$method = new ReflectionMethod($this->component, $methodName);
		if ($method->isPublic() && mb_strtolower($method->getName()) === mb_strtolower($methodName))
		{
			return new InlineAction($actionName, $this->component, $this, $config);
		}
	}

	return parent::create($actionName);
}