Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
fielderror.php
1<?php
10
12
14{
15 const EMPTY_REQUIRED = 'BX_EMPTY_REQUIRED';
16 const INVALID_VALUE = 'BX_INVALID_VALUE';
17
19 protected $field;
20
21 public function __construct(Field $field, $message, $code='BX_ERROR')
22 {
23 parent::__construct($message, $code);
24 $this->field = $field;
25 }
26
27 public function getField()
28 {
29 return $this->field;
30 }
31}
__construct(Field $field, $message, $code='BX_ERROR')