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/socialservices/lib/ |
Upload File : |
<?php namespace Bitrix\Socialservices; use Bitrix\Main, Bitrix\Main\ORM\Fields; /** * Class ZoomMeetingTable * * @package Bitrix\Socialservices * * DO NOT WRITE ANYTHING BELOW THIS * * <<< ORMENTITYANNOTATION * @method static EO_ZoomMeeting_Query query() * @method static EO_ZoomMeeting_Result getByPrimary($primary, array $parameters = array()) * @method static EO_ZoomMeeting_Result getById($id) * @method static EO_ZoomMeeting_Result getList(array $parameters = array()) * @method static EO_ZoomMeeting_Entity getEntity() * @method static \Bitrix\Socialservices\EO_ZoomMeeting createObject($setDefaultValues = true) * @method static \Bitrix\Socialservices\EO_ZoomMeeting_Collection createCollection() * @method static \Bitrix\Socialservices\EO_ZoomMeeting wakeUpObject($row) * @method static \Bitrix\Socialservices\EO_ZoomMeeting_Collection wakeUpCollection($rows) */ class ZoomMeetingTable extends Main\Entity\DataManager { /** * Returns DB table name for entity. * * @return string */ public static function getTableName(): string { return 'b_socialservices_zoom_meeting'; } /** * Returns entity map definition. * * @return array * @throws Main\SystemException */ public static function getMap(): array { return [ new Fields\IntegerField('ID', [ 'primary' => true, 'autocomplete' => true ]), new Fields\StringField('ENTITY_TYPE_ID', [ 'required' => true, 'size' => 10, ]), new Fields\IntegerField('ENTITY_ID', [ 'required' => true ]), new Fields\StringField('CONFERENCE_URL', [ 'required' => true, 'size' => 255, ]), new Fields\IntegerField('CONFERENCE_EXTERNAL_ID', [ 'required' => true, ]), new Fields\CryptoField('CONFERENCE_PASSWORD', [ 'crypto_enabled' => static::cryptoEnabled('CONFERENCE_PASSWORD'), ]), new Fields\BooleanField('JOINED', [ 'values' => ['N', 'Y'] ]), new Fields\DatetimeField('CONFERENCE_CREATED',[ 'required' => true, ]), new Fields\DatetimeField('CONFERENCE_STARTED'), new Fields\DatetimeField('CONFERENCE_ENDED'), new Fields\BooleanField('HAS_RECORDING', [ 'values' => ['N', 'Y'] ]), new Fields\IntegerField('DURATION', [ 'required' => true, ]), new Fields\TextField('TITLE', [ 'required' => true, ]), new Fields\StringField('SHORT_LINK', [ 'required' => true, 'size' => 255, ]) ]; } public static function getRowByExternalId($externalId) { return static::getRow([ 'select' => ['*'], 'filter' => ['=CONFERENCE_EXTERNAL_ID' => $externalId] ]); } }