1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
base.php
См. документацию.
1<?php
2
3namespace Bitrix\Report\VisualConstructor\Controller;
4
5use Bitrix\Main\Config\Configuration;
6use Bitrix\Main\Engine\Controller;
7use Bitrix\Main\Error;
8
13abstract class Base extends Controller
14{
15
22 protected function runProcessingException(\Exception $e)
23 {
24 parent::runProcessingException($e);
25 $exceptionHandling = Configuration::getValue('exception_handling');
26 if (!empty($exceptionHandling['debug']))
27 {
28 $trace = $e->getTrace();
29
30 $traceLength = count($trace);
31
32 $this->addError(new Error($e->getFile() . ':' . $e->getLine()));
33
34
35 for ($i = 0; $i < $traceLength && $i < 3; $i++)
36 {
37 $this->addError(new Error( '#' . $i . ' ' . $trace[$i]['file'] . ':' . $trace[$i]['line'] . ' ' . $trace[$i]['function']));
38 }
39
40 }
41 }
42}
Определения error.php:15
runProcessingException(\Exception $e)
Определения base.php:22
$i
Определения factura.php:643
</p ></td >< td valign=top style='border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0cm 2.0pt 0cm 2.0pt;height:9.0pt'>< p class=Normal align=center style='margin:0cm;margin-bottom:.0001pt;text-align:center;line-height:normal'>< a name=ТекстовоеПоле54 ></a ><?=($taxRate > count( $arTaxList) > 0) ? $taxRate."%"
Определения waybill.php:936