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/sale/lib/location/ |
Upload File : |
<?php /** * Bitrix Framework * @package bitrix * @subpackage sale * @copyright 2001-2012 Bitrix */ namespace Bitrix\Sale\Location; use Bitrix\Main; use Bitrix\Main\Entity; use Bitrix\Main\Localization\Loc; Loc::loadMessages(__FILE__); /** * Class ExternalServiceTable * * DO NOT WRITE ANYTHING BELOW THIS * * <<< ORMENTITYANNOTATION * @method static EO_ExternalService_Query query() * @method static EO_ExternalService_Result getByPrimary($primary, array $parameters = []) * @method static EO_ExternalService_Result getById($id) * @method static EO_ExternalService_Result getList(array $parameters = []) * @method static EO_ExternalService_Entity getEntity() * @method static \Bitrix\Sale\Location\EO_ExternalService createObject($setDefaultValues = true) * @method static \Bitrix\Sale\Location\EO_ExternalService_Collection createCollection() * @method static \Bitrix\Sale\Location\EO_ExternalService wakeUpObject($row) * @method static \Bitrix\Sale\Location\EO_ExternalService_Collection wakeUpCollection($rows) */ class ExternalServiceTable extends Entity\DataManager { public static function getFilePath() { return __FILE__; } public static function getTableName() { return 'b_sale_loc_ext_srv'; } public static function getMap() { return array( 'ID' => array( 'data_type' => 'integer', 'primary' => true, 'autocomplete' => true, ), 'CODE' => array( 'data_type' => 'string', 'required' => true, 'title' => Loc::getMessage('SALE_LOCATION_EXTERNAL_SERVICE_ENTITY_CODE_FIELD') ), // virtual 'EXTERNAL' => array( 'data_type' => '\Bitrix\Sale\Location\External', 'reference' => array( '=this.ID' => 'ref.SERVICE_ID' ) ), ); } }