Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
usersignature.php
1<?php
2
4
8
26{
27 const TYPE_ADDRESS = 'address';
28 const TYPE_SENDER = 'sender';
29
33 public static function getTableName()
34 {
35 return 'b_mail_user_signature';
36 }
37
41 public static function getMap()
42 {
43 return [
44 new Entity\IntegerField('ID', [
45 'primary' => true,
46 'autocomplete' => true,
47 ]),
48 new Entity\IntegerField('USER_ID', [
49 'required' => true,
50 ]),
51 new Entity\TextField('SIGNATURE'),
52 new Entity\StringField('SENDER'),
53 ];
54 }
55
59 public static function getObjectClass()
60 {
61 return UserSignature::class;
62 }
63}