Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
syspage.php
1<?php
3
4use \Bitrix\Main\Localization\Loc;
5use \Bitrix\Main\Entity;
6
7Loc::loadMessages(__FILE__);
8
25class SyspageTable extends Entity\DataManager
26{
31 public static function getTableName()
32 {
33 return 'b_landing_syspage';
34 }
35
40 public static function getMap()
41 {
42 return array(
43 'ID' => new Entity\IntegerField('ID', array(
44 'primary' => true,
45 'autocomplete' => true,
46 'title' => 'ID'
47 )),
48 'SITE_ID' => new Entity\IntegerField('SITE_ID', array(
49 'title' => Loc::getMessage('LANDING_TABLE_FIELD_SITE_ID'),
50 'required' => true
51 )),
52 'TYPE' => new Entity\StringField('TYPE', array(
53 'title' => Loc::getMessage('LANDING_TABLE_FIELD_TYPE'),
54 'required' => true
55 )),
56 'LANDING_ID' => new Entity\IntegerField('LANDING_ID', array(
57 'title' => Loc::getMessage('LANDING_TABLE_FIELD_LANDING_ID'),
58 'required' => true
59 ))
60 );
61 }
62}
static loadMessages($file)
Definition loc.php:64
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29