3namespace Bitrix\Im\Model;
5use Bitrix\Main\ArgumentTypeException,
6 Bitrix\Main\ORM\Data\DataManager,
7 Bitrix\Main\ORM\Fields\DatetimeField,
8 Bitrix\Main\ORM\Fields\IntegerField,
9 Bitrix\Main\ORM\Fields\StringField,
10 Bitrix\Main\ORM\Fields\Validators\LengthValidator,
11 Bitrix\Main\SystemException;
12use Bitrix\Main\Entity\Event;
13use Bitrix\Main\ORM\EventResult;
14use Bitrix\Main\Type\DateTime;
58 return 'b_im_option_group';
72 'autocomplete' =>
true,
75 'validation' => [__CLASS__,
'validateName']
88 'MODIFY_BY_ID' => (
new IntegerField(
'MODIFY_BY_ID', [])),
109 if (!isset(
$data[
'CREATE_DATE']) || !is_array(
$data[
'CREATE_DATE']))
111 $result->modifyFields([
'DATE_CREATE' =>
new Datetime()]);
121 if (!isset(
$data[
'MODIFY_DATE']) || !is_array(
$data[
'MODIFY_DATE']))
static onBeforeAdd(Event $event)
static onBeforeUpdate(Event $event)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)