Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
logsite.php
1<?php
9
11
29{
30 public static function getTableName()
31 {
32 return 'b_sonet_log_site';
33 }
34
35 public static function getMap()
36 {
37 $fieldsMap = array(
38 'LOG_ID' => [
39 'data_type' => 'integer',
40 'primary' => true
41 ],
42 'LOG' => array(
43 'data_type' => '\Bitrix\Socialnetwork\Log',
44 'reference' => array('=this.LOG_ID' => 'ref.ID')
45 ),
46 'SITE_ID' => [
47 'data_type' => 'string',
48 'primary' => true
49 ],
50 );
51
52 return $fieldsMap;
53 }
54}