Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
mailmessageattachment.php
1<?php
2
4
6
24{
25
26 public static function getFilePath()
27 {
28 return __FILE__;
29 }
30
31 public static function getTableName()
32 {
33 return 'b_mail_msg_attachment';
34 }
35
36 public static function getMap()
37 {
38 return array(
39 'ID' => array(
40 'data_type' => 'integer',
41 'primary' => true,
42 'autocomplete' => true,
43 ),
44 'MESSAGE_ID' => array(
45 'data_type' => 'integer',
46 'required' => true,
47 ),
48 'FILE_ID' => array(
49 'data_type' => 'integer',
50 ),
51 'FILE_NAME' => array(
52 'data_type' => 'string',
53 ),
54 'FILE_SIZE' => array(
55 'data_type' => 'integer',
56 ),
57 'FILE_DATA' => array(
58 'data_type' => 'string',
59 ),
60 'CONTENT_TYPE' => array(
61 'data_type' => 'string',
62 ),
63 'IMAGE_WIDTH' => array(
64 'data_type' => 'integer',
65 ),
66 'IMAGE_HEIGHT' => array(
67 'data_type' => 'integer',
68 ),
69 );
70 }
71
72}