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/cvetdv.ru/bitrix/modules/burlakastudio.realcommenter/lib/ |
Upload File : |
<?php /** * ����� "��������� ����������� 2.0" ��� ������� * �������� ���� �����: www.realcommenter.com * �������� ���� �����������: burlaka.studio * ����� � ����������: ������� ������� (AlexeyGfi) -> alexeygfi@gmail.com */ namespace Burlakastudio\Realcommenter; use Bitrix\Main\Localization\Loc; Loc::loadMessages( __FILE__ ); /** * Class InfoTable * * Fields: * <ul> * <li> ID int mandatory * <li> UF_REMOTE_ADDR string optional * <li> UF_X_FORWARDED_FOR string optional * <li> UF_X_REAL_IP string optional * <li> UF_USER_AGENT string optional * <li> UF_REFERER string optional * <li> UF_COOKIE string optional * <li> UF_SERVER_PORT string optional * <li> UF_REQUEST_URI string optional * <li> UF_COMMENT_ID int optional * </ul> * * @package Bitrix\Request **/ class RequestInfoTable extends \Bitrix\Main\ORM\Data\DataManager { /** * Returns DB table name for entity. * * @return string */ public static function getTableName() { return 'realcommenter_request_info'; } /** * Returns entity map definition. * * @return array */ public static function getMap() { return [ 'ID' => [ 'data_type' => 'integer', 'primary' => true, 'autocomplete' => true, 'title' => Loc::getMessage( 'INFO_ENTITY_ID_FIELD' ), ], 'UF_REMOTE_ADDR' => [ 'data_type' => 'text', 'title' => Loc::getMessage( 'INFO_ENTITY_UF_REMOTE_ADDR_FIELD' ), ], 'UF_X_FORWARDED_FOR' => [ 'data_type' => 'text', 'title' => Loc::getMessage( 'INFO_ENTITY_UF_X_FORWARDED_FOR_FIELD' ), ], 'UF_X_REAL_IP' => [ 'data_type' => 'text', 'title' => Loc::getMessage( 'INFO_ENTITY_UF_X_REAL_IP_FIELD' ), ], 'UF_USER_AGENT' => [ 'data_type' => 'text', 'title' => Loc::getMessage( 'INFO_ENTITY_UF_USER_AGENT_FIELD' ), ], 'UF_REFERER' => [ 'data_type' => 'text', 'title' => Loc::getMessage( 'INFO_ENTITY_UF_REFERER_FIELD' ), ], 'UF_COOKIE' => [ 'data_type' => 'text', 'title' => Loc::getMessage( 'INFO_ENTITY_UF_COOKIE_FIELD' ), ], 'UF_SERVER_PORT' => [ 'data_type' => 'text', 'title' => Loc::getMessage( 'INFO_ENTITY_UF_SERVER_PORT_FIELD' ), ], 'UF_REQUEST_URI' => [ 'data_type' => 'text', 'title' => Loc::getMessage( 'INFO_ENTITY_UF_REQUEST_URI_FIELD' ), ], 'UF_COMMENT_ID' => [ 'data_type' => 'integer', 'title' => Loc::getMessage('INFO_ENTITY_UF_COMMENT_ID_FIELD'), ], ]; } }