Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
servicelog.php
1<?php
9
10use \Bitrix\Main\Entity;
11use \Bitrix\Main\Localization\Loc;
12use \Bitrix\Main\Type\DateTime;
13
14Loc::loadMessages(__FILE__);
15
32class ServiceLogTable extends Entity\DataManager
33{
34 public static function getTableName()
35 {
36 return 'b_seo_service_log';
37 }
38
39 public static function getMap()
40 {
41 $fieldsMap = array(
42 'ID' => array(
43 'data_type' => 'integer',
44 'primary' => true,
45 'autocomplete' => true,
46 ),
47 'DATE_INSERT' => array(
48 'data_type' => 'datetime',
49 'default_value' => new DateTime()
50 ),
51 'GROUP_ID' => array(
52 'data_type' => 'string',
53 'required' => true,
54 ),
55 'TYPE' => array(
56 'data_type' => 'string',
57 'required' => true,
58 ),
59 'CODE' => array(
60 'data_type' => 'string',
61 ),
62 'MESSAGE' => array(
63 'data_type' => 'string',
64 'required' => true,
65 )
66 );
67
68 return $fieldsMap;
69 }
70}
static loadMessages($file)
Definition loc.php:64