| Current Path : /var/www/element/data/www/revenuestory.ru/bitrix/modules/landing/lib/internals/ |
| Current File : /var/www/element/data/www/revenuestory.ru/bitrix/modules/landing/lib/internals/filterblock.php |
<?php
namespace Bitrix\Landing\Internals;
use \Bitrix\Main\Localization\Loc;
use \Bitrix\Main\Entity;
Loc::loadMessages(__FILE__);
/**
* Class FilterBlockTable
*
* DO NOT WRITE ANYTHING BELOW THIS
*
* <<< ORMENTITYANNOTATION
* @method static EO_FilterBlock_Query query()
* @method static EO_FilterBlock_Result getByPrimary($primary, array $parameters = array())
* @method static EO_FilterBlock_Result getById($id)
* @method static EO_FilterBlock_Result getList(array $parameters = array())
* @method static EO_FilterBlock_Entity getEntity()
* @method static \Bitrix\Landing\Internals\EO_FilterBlock createObject($setDefaultValues = true)
* @method static \Bitrix\Landing\Internals\EO_FilterBlock_Collection createCollection()
* @method static \Bitrix\Landing\Internals\EO_FilterBlock wakeUpObject($row)
* @method static \Bitrix\Landing\Internals\EO_FilterBlock_Collection wakeUpCollection($rows)
*/
class FilterBlockTable extends Entity\DataManager
{
/**
* Returns DB table name for entity.
* @return string
*/
public static function getTableName()
{
return 'b_landing_filter_block';
}
/**
* Returns entity map definition.
* @return array
*/
public static function getMap()
{
return array(
'ID' => new Entity\IntegerField('ID', array(
'primary' => true,
'autocomplete' => true,
'title' => 'ID'
)),
'FILTER_ID' => new Entity\IntegerField('FILTER_ID', array(
'title' => Loc::getMessage('LANDING_TABLE_FIELD_FILTER_ID'),
'required' => true
)),
'BLOCK_ID' => new Entity\IntegerField('BLOCK_ID', array(
'title' => Loc::getMessage('LANDING_TABLE_FIELD_BLOCK_ID'),
'required' => true
))
);
}
}