• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/engine/action.php
  • Класс: Bitrix\Main\Engine\Action
  • Вызов: Action::__construct
public function __construct($name, Controller $controller, $config = array())
{
	$this->errorCollection = new ErrorCollection;
	$this->controller = $controller;
	$this->config = $config;
	$this->name = $name;

	if (isset($config['configure']))
	{
		$this->configure($config['configure']);
	}

	$this->init();
}