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/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; use Bitrix\Main\ORM\Data\DataManager; Loc::loadMessages(__FILE__); /** * Class URL_TABLE * * Fields: * <ul> * <li> ID int mandatory * <li> UF_URL string optional * <li> UF_COMMENTS_INSIDE int optional * <li> UF_TOP_ID_PLUS int optional * <li> UF_GROUP_ID int optional * </ul> * * @package Bitrix\Url **/ class URL_TABLE extends DataManager { /** * Returns DB table name for entity. * * @return string */ public static function getTableName() { return 'realcommenter_url'; } /** * Returns entity map definition. * * @return array */ public static function getMap() { return [ 'ID' => [ 'data_type' => 'integer', 'primary' => true, 'autocomplete' => true, 'title' => Loc::getMessage('URL_ENTITY_ID_FIELD'), ], 'UF_URL' => [ 'data_type' => 'text', 'title' => Loc::getMessage('URL_ENTITY_UF_URL_FIELD'), ], 'UF_COMMENTS_INSIDE' => [ 'data_type' => 'integer', 'title' => Loc::getMessage('URL_ENTITY_UF_COMMENTS_INSIDE_FIELD'), ], 'UF_TOP_ID_PLUS' => [ 'data_type' => 'integer', 'title' => Loc::getMessage('URL_ENTITY_UF_TOP_ID_PLUS_FIELD'), ], 'UF_GROUP_ID' => [ 'data_type' => 'integer', 'title' => Loc::getMessage('URL_ENTITY_UF_GROUP_ID_FIELD'), ], 'UF_ACTIVE' => [ 'data_type' => 'integer', 'title' => Loc::getMessage('URL_ENTITY_UF_ACTIVE_FIELD'), ], 'UF_PAUSED' => [ 'data_type' => 'integer', 'title' => Loc::getMessage('URL_ENTITY_UF_PAUSED_FIELD'), ], 'UF_PAGE_TITLE' => [ 'data_type' => 'text', 'title' => Loc::getMessage('URL_ENTITY_UF_PAGE_TITLE_FIELD'), ], ]; } } class_alias( '\Burlakastudio\Realcommenter\URL_TABLE', '\Burlakastudio\Realcommenter\URLTable' );