Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
trigger.php
1<?php
3
5
22class TriggerTable extends Main\Entity\DataManager
23{
28 public static function getTableName()
29 {
30 return 'b_bp_automation_trigger';
31 }
32
33 public static function getObjectClass()
34 {
35 return TriggerObject::class;
36 }
37
42 public static function getMap()
43 {
44 return array(
45 'ID' => array('primary' => true, 'data_type' => 'integer'),
46 'NAME' => array('data_type' => 'string'),
47 'CODE' => array('data_type' => 'string'),
48
49 'MODULE_ID' => array('data_type' => 'string'),
50 'ENTITY' => array('data_type' => 'string'),
51 'DOCUMENT_TYPE' => array('data_type' => 'string'),
52
53 'DOCUMENT_STATUS' => array('data_type' => 'string'),
54
55 'APPLY_RULES' => array(
56 'data_type' => 'string',
57 'serialized' => true
58 )
59 );
60 }
61}