Метод messageOfAnIncorrectDateTimeField
Сигнатура метода
public static function messageOfAnIncorrectDateTimeField(string $field): string
Возвращает:
string
Описание
Message a datetime field nobody could read is refused with. Both write paths produce it - the check of the fields above and the step of the V2 pipeline that stands for it - so it is one method rather than two copies of the same pair of phrases, and the phrases stay in the file that owns them. Every field of getDateTimeFields() now has a phrase of its own, CRM_ACTIVITY_FIELD_START_TIME included - the mismatched CRM_ACTIVITY_FIELD_START_DATE phrase stays declared for whatever else already reads it.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$field
|
string
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/classes/general/crm_activity.php