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 /** * ����� "��������� ����������� D7" ��� ������� * �������� ���� �����: www.realcommenter.com * �������� ���� �����������: burlaka.studio * ����� � ����������: ������� ������� (AlexeyGfi) -> alexeygfi@gmail.com */ namespace Burlakastudio\Realcommenter; use Bitrix\Main\Localization\Loc; use Bitrix\Main\ORM\Data\DataManager; Loc::loadMessages( __FILE__ ); class COMMENTS_TABLE extends DataManager { /** * Returns DB table name for entity. * * @return string */ public static function getTableName() { return 'realcommenter_comment'; } /** * Returns entity map definition. * * @return array */ public static function getMap() { return [ 'ID' => [ 'data_type' => 'integer', 'primary' => true, 'autocomplete' => true, 'title' => Loc::getMessage( 'COMMENT_ENTITY_ID_FIELD' ), ], 'UF_ACTIVE' => [ 'data_type' => 'integer', 'title' => Loc::getMessage( 'COMMENT_ENTITY_UF_ACTIVE_FIELD' ), ], 'UF_COMMENT' => [ 'data_type' => 'text', 'title' => Loc::getMessage( 'COMMENT_ENTITY_UF_COMMENT_FIELD' ), ], 'UF_SIGNATURE' => [ 'data_type' => 'text', 'title' => Loc::getMessage( 'COMMENT_ENTITY_UF_SIGNATURE_FIELD' ), ], 'UF_EMAIL' => [ 'data_type' => 'text', 'title' => Loc::getMessage( 'COMMENT_ENTITY_UF_EMAIL_FIELD' ), ], 'UF_UPLOADS' => [ 'data_type' => 'text', 'title' => Loc::getMessage( 'COMMENT_ENTITY_UF_UPLOADS_FIELD' ), ], 'UF_USER_ID' => [ 'data_type' => 'integer', 'title' => Loc::getMessage( 'COMMENT_ENTITY_UF_USER_ID_FIELD' ), ], 'UF_VOTES_PLUS' => [ 'data_type' => 'integer', 'title' => Loc::getMessage( 'COMMENT_ENTITY_UF_VOTES_PLUS_FIELD' ), ], 'UF_VOTES_MINUS' => [ 'data_type' => 'integer', 'title' => Loc::getMessage( 'COMMENT_ENTITY_UF_VOTES_MINUS_FIELD' ), ], 'UF_FROZEN' => [ 'data_type' => 'integer', 'title' => Loc::getMessage( 'COMMENT_ENTITY_UF_FROZEN_FIELD' ), ], 'UF_UFO' => [ 'data_type' => 'integer', 'title' => Loc::getMessage( 'COMMENT_ENTITY_UF_UFO_FIELD' ), ], 'UF_SMILES_ACTIVE' => [ 'data_type' => 'integer', 'title' => Loc::getMessage( 'COMMENT_ENTITY_UF_SMILES_ACTIVE_FIELD' ), ], 'UF_RATE_VALUE' => [ 'data_type' => 'integer', 'title' => Loc::getMessage( 'COMMENT_ENTITY_UF_RATE_VALUE_FIELD' ), ], 'UF_PROOF_AWAITING' => [ 'data_type' => 'integer', 'title' => Loc::getMessage( 'COMMENT_ENTITY_UF_PROOF_AWAITING_FIELD' ), ], 'UF_URL_ID' => [ 'data_type' => 'integer', 'title' => Loc::getMessage( 'COMMENT_ENTITY_UF_URL_ID_FIELD' ), ], 'UF_PARENT_ID' => [ 'data_type' => 'integer', 'title' => Loc::getMessage( 'COMMENT_ENTITY_UF_PARENT_ID_FIELD' ), ], 'UF_DEPTH_LEVEL' => [ 'data_type' => 'integer', 'title' => Loc::getMessage( 'COMMENT_ENTITY_UF_DEPTH_LEVEL_FIELD' ), ], 'UF_CREATED_DATE' => [ 'data_type' => 'datetime', 'title' => Loc::getMessage( 'COMMENT_ENTITY_UF_CREATED_DATE_FIELD' ), 'default_value' => null, ], 'UF_COMMENTS_INSIDE' => [ 'data_type' => 'integer', 'title' => Loc::getMessage( 'COMMENT_ENTITY_UF_COMMENTS_INSIDE_FIELD' ), ], ]; } } class_alias( '\Burlakastudio\Realcommenter\COMMENTS_TABLE', '\Burlakastudio\Realcommenter\COMMENTSTable' );