Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
filterblock.php
1<?php
3
4use \Bitrix\Main\Localization\Loc;
5use \Bitrix\Main\Entity;
6
7Loc::loadMessages(__FILE__);
8
25class FilterBlockTable extends Entity\DataManager
26{
31 public static function getTableName()
32 {
33 return 'b_landing_filter_block';
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 'FILTER_ID' => new Entity\IntegerField('FILTER_ID', array(
49 'title' => Loc::getMessage('LANDING_TABLE_FIELD_FILTER_ID'),
50 'required' => true
51 )),
52 'BLOCK_ID' => new Entity\IntegerField('BLOCK_ID', array(
53 'title' => Loc::getMessage('LANDING_TABLE_FIELD_BLOCK_ID'),
54 'required' => true
55 ))
56 );
57 }
58}
static loadMessages($file)
Definition loc.php:64
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29