Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/landing/lib/internals/ |
Upload File : |
<?php namespace Bitrix\Landing\Internals; use \Bitrix\Main\Localization\Loc; use \Bitrix\Main\Entity; Loc::loadMessages(__FILE__); /** * Class ViewTable * * DO NOT WRITE ANYTHING BELOW THIS * * <<< ORMENTITYANNOTATION * @method static EO_View_Query query() * @method static EO_View_Result getByPrimary($primary, array $parameters = []) * @method static EO_View_Result getById($id) * @method static EO_View_Result getList(array $parameters = []) * @method static EO_View_Entity getEntity() * @method static \Bitrix\Landing\Internals\EO_View createObject($setDefaultValues = true) * @method static \Bitrix\Landing\Internals\EO_View_Collection createCollection() * @method static \Bitrix\Landing\Internals\EO_View wakeUpObject($row) * @method static \Bitrix\Landing\Internals\EO_View_Collection wakeUpCollection($rows) */ class ViewTable extends Entity\DataManager { /** * Returns DB table name for entity. * @return string */ public static function getTableName() { return 'b_landing_view'; } /** * Returns entity map definition. * @return array */ public static function getMap() { return array( 'ID' => new Entity\IntegerField('ID', array( 'primary' => true, 'autocomplete' => true, 'title' => 'ID' )), 'LID' => new Entity\IntegerField('LID', array( 'title' => Loc::getMessage('LANDING_TABLE_FIELD_LID'), 'required' => true )), 'USER_ID' => new Entity\IntegerField('USER_ID', array( 'title' => Loc::getMessage('LANDING_TABLE_FIELD_USER_ID'), 'required' => true )), 'VIEWS' => new Entity\IntegerField('VIEWS', array( 'title' => Loc::getMessage('LANDING_TABLE_FIELD_VIEWS'), 'required' => true )), 'FIRST_VIEW' => new Entity\DatetimeField('FIRST_VIEW', array( 'title' => Loc::getMessage('LANDING_TABLE_FIELD_LAST_VIEW'), 'required' => true )), 'LAST_VIEW' => new Entity\DatetimeField('LAST_VIEW', array( 'title' => Loc::getMessage('LANDING_TABLE_FIELD_LAST_VIEW'), 'required' => true )) ); } }