Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
eventtype.php
1<?php
10
12
30{
31 const TYPE_EMAIL = 'email';
32 const TYPE_SMS = 'sms';
33
37 public static function getTableName()
38 {
39 return 'b_event_type';
40 }
41
45 public static function getMap()
46 {
47 return array(
48 'ID' => array(
49 'data_type' => 'integer',
50 'primary' => true,
51 'autocomplete' => true,
52 ),
53 'LID' => array(
54 'data_type' => 'string',
55 'required' => true,
56 ),
57 'EVENT_NAME' => array(
58 'data_type' => 'string',
59 'required' => true,
60 ),
61 'NAME' => array(
62 'data_type' => 'string',
63 ),
64 'DESCRIPTION' => array(
65 'data_type' => 'string',
66 ),
67 'SORT' => array(
68 'data_type' => 'integer',
69 'required' => true,
70 'default_value' => 100,
71 ),
72 'EVENT_TYPE' => array(
73 'data_type' => 'string',
74 ),
75 );
76 }
77}