• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/engine/controller.php
  • Класс: BitrixMainEngineController
  • Вызов: Controller::getFilePath
protected function getFilePath()
{
	if (!$this->filePath)
	{
		$reflector = new ReflectionClass($this);
		$this->filePath = preg_replace('#[\/]+#', '/', $reflector->getFileName());
	}

	return $this->filePath;
}