1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
AccessErrorTrait.php
См. документацию.
1<?php
2
4
7
9{
10 protected array $errorCollection = [];
11
13 public function getErrors(): array
14 {
15 return $this->errorCollection;
16 }
17
18 public function addError(string $class, string $message = ''): void
19 {
20 $this->errorCollection[] = new Error($message, $class);
21 }
22
24 {
25 $collection = new ErrorCollection();
26 foreach ($this->errorCollection as $error)
27 {
28 $collection->setError($error);
29 }
30
31 return $collection;
32 }
33}
Определения error.php:15
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
addError(string $class, string $message='')
Определения AccessErrorTrait.php:18
$message
Определения payment.php:8
$error
Определения subscription_card_product.php:20