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/ilovecveti.ru/bitrix/modules/calendar/lib/internals/counter/ |
Upload File : |
<?php namespace Bitrix\Calendar\Internals\Counter; use Bitrix\Main\Entity\DataManager; use Bitrix\Main\ORM\Data\Internal\DeleteByFilterTrait; /** * Class CounterTable * * DO NOT WRITE ANYTHING BELOW THIS * * <<< ORMENTITYANNOTATION * @method static EO_Counter_Query query() * @method static EO_Counter_Result getByPrimary($primary, array $parameters = []) * @method static EO_Counter_Result getById($id) * @method static EO_Counter_Result getList(array $parameters = []) * @method static EO_Counter_Entity getEntity() * @method static \Bitrix\Calendar\Internals\Counter\EO_Counter createObject($setDefaultValues = true) * @method static \Bitrix\Calendar\Internals\Counter\EO_Counter_Collection createCollection() * @method static \Bitrix\Calendar\Internals\Counter\EO_Counter wakeUpObject($row) * @method static \Bitrix\Calendar\Internals\Counter\EO_Counter_Collection wakeUpCollection($rows) */ class CounterTable extends DataManager { use DeleteByFilterTrait; public static function getTableName(): string { return 'b_calendar_scorer'; } public static function getClass(): string { return static::class; } public static function getMap(): array { return [ 'ID' => [ 'data_type' => 'integer', 'primary' => true, 'autocomplete' => true, ], 'USER_ID' => [ 'data_type' => 'integer', 'required' => true, ], 'EVENT_ID' => [ 'data_type' => 'integer', 'required' => true, ], 'PARENT_ID' => [ 'data_type' => 'integer', 'required' => true, ], 'TYPE' => [ 'data_type' => 'string', 'required' => true, ], 'VALUE' => [ 'data_type' => 'integer', 'required' => true, ], // references 'USER' => [ 'data_type' => 'Bitrix\Main\UserTable', 'reference' => ['=this.USER_ID' => 'ref.ID'], ], 'EVENT' => [ 'data_type' => 'Bitrix\Calendar\Internals\EventTable', 'reference' => ['=this.EVENT_ID' => 'ref.ID'], ], ]; } }