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/zverushki.seofilter/lib/internals/ |
Upload File : |
<?php /** * Created by PhpStorm. * User: luk * Email: oleh.holovkin@hotlab.com.ua * Date: 26.09.2021 * Time: 19:38 */ namespace Zverushki\Seofilter\Internals; use Bitrix\Main, Bitrix\Main\Entity, Bitrix\Main\Localization\Loc; Loc::loadMessages(__FILE__); class GroupTable extends Entity\DataManager { /** * Returns DB table name for entity. * * @return string */ public static function getTableName () { return 'zverushki_seofilter_group'; } /** * Returns entity map definition. * * @return array */ public static function getMap () { return array( new Entity\IntegerField('ID', array( 'primary' => true, 'autocomplete' => true, 'title' => Loc::getMessage('SEOFILTER_ENTITY_ID_FIELD'), )), new Entity\DatetimeField('TIMESTAMP_X', array( 'default_value' => new Main\Type\DateTime )), new Entity\BooleanField('ACTIVE', array( 'values' => array('N', 'Y'), 'default_value' => 'Y', 'title' => Loc::getMessage('SEOFILTER_ENTITY_ACTIVE_FIELD'), )), new Entity\StringField('TITLE', array( 'required' => false, 'default_value' => '', 'title' => Loc::getMessage('SEOFILTER_ENTITY_TITLE_FIELD'), )) ); } }