• Модуль: lists
  • Путь к файлу: ~/bitrix/modules/lists/lib/internals/controller.php
  • Класс: BitrixListsInternalsController
  • Вызов: Controller::exec
public function exec()
{
	try
	{
		if($this->request->isPost())
		{
			CUtil::jSPostUnescape();
			$this->request->addFilter(new PostDecodeFilter);
		}

		$this->resolveAction();			
		$this->checkAction();

		$this->checkRequiredModules();

		if(!$this->prepareParams())
		{
			$this->sendJsonErrorResponse();
		}

		//todo create Event!
		if($this->processBeforeAction($this->getAction()) !== false)
		{
			$this->runAction();
		}
	}
	catch(Exception $e)
	{
		$this->runProcessingException($e);
	}
}