1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Config

Открытые статические члены

static getOption (string $optionName)
static getModuleDefault (string $optionName)
static getDefaultLanguages ()
static isUtfMode ()
static getAllowedEncodings ()
static getEncodingName (string $encoding)
static getAliasEncoding (string $encoding)
static getCultureEncoding (string $languageId)
static getLanguages (bool $skipCache=false)
static getEnabledLanguages ()
static getLanguagesTitle (array $languageIds)
static getAvailableLanguages ()
static getAvailableDefaultLanguages ()
static getTranslationRepositoryLanguages ()
static getDefaultPath ()
static needToBackUpFiles ()
static getBackupFolder ()
static needToSortPhrases ()
static getNonSortPhraseLanguages ()
static getExportFolder ()

Поля данных

const OPTION_INIT_FOLDERS = 'INIT_FOLDERS'
const OPTION_BUTTON_LANG_FILES = 'BUTTON_LANG_FILES'
const OPTION_BACKUP_FILES = 'BACKUP_FILES'
const OPTION_SORT_PHRASES = 'SORT_PHRASES'
const OPTION_DONT_SORT_LANGUAGES = 'DONT_SORT_LANGUAGES'
const OPTION_BACKUP_FOLDER = 'BACKUP_FOLDER'
const OPTION_EXPORT_CSV_DELIMITER = 'EXPORT_CSV_DELIMITER'
const OPTION_EXPORT_FOLDER = 'EXPORT_FOLDER'

Подробное описание

См. определение в файле config.php строка 9

Методы

◆ getAliasEncoding()

getAliasEncoding ( string $encoding)
static

Returns alias of encoding.

Аргументы
string$encodingEncoding to check.
Возвращает
string|null

См. определение в файле config.php строка 135

◆ getAllowedEncodings()

getAllowedEncodings ( )
static

Returns list of allowed to operate charset encodings.

Возвращает
string[]

См. определение в файле config.php строка 87

◆ getAvailableDefaultLanguages()

getAvailableDefaultLanguages ( )
static

Returns list of available default translation languages.

Возвращает
string[]

См. определение в файле config.php строка 290

◆ getAvailableLanguages()

getAvailableLanguages ( )
static

Returns list of available in system translation languages.

Возвращает
string[]

См. определение в файле config.php строка 271

◆ getBackupFolder()

getBackupFolder ( )
static

Returns disposition of backup folder for backuped language files.

Возвращает
string

См. определение в файле config.php строка 411

◆ getCultureEncoding()

getCultureEncoding ( string $languageId)
static

Returns language encoding from site settings.

Аргументы
string$languageIdLanguage id to check.
Возвращает
string|null

См. определение в файле config.php строка 162

◆ getDefaultLanguages()

getDefaultLanguages ( )
static

Returns the default translation language list.

Возвращает
string[]

См. определение в файле config.php строка 67

◆ getDefaultPath()

getDefaultPath ( )
static

Returns the default translation folder path.

Возвращает
string

См. определение в файле config.php строка 376

◆ getEnabledLanguages()

getEnabledLanguages ( )
static

Returns list of enabled languages in the site settings.

Возвращает
string[]

См. определение в файле config.php строка 211

◆ getEncodingName()

getEncodingName ( string $encoding)
static

Returns list of allowed to operate charset encodings.

Аргументы
string$encodingEncoding to check.
Возвращает
string

См. определение в файле config.php строка 99

◆ getExportFolder()

getExportFolder ( )
static

Returns disposition of the asset or export folder.

Возвращает
string|null

См. определение в файле config.php строка 490

◆ getLanguages()

getLanguages ( bool $skipCache = false)
static

Returns list of all languages in the site settings.

Возвращает
string[]

См. определение в файле config.php строка 186

◆ getLanguagesTitle()

getLanguagesTitle ( array $languageIds)
static

Returns list of language names from the site settings.

Аргументы
string[]$languageIdsLanguages list to get name.
Возвращает
array

См. определение в файле config.php строка 239

◆ getModuleDefault()

getModuleDefault ( string $optionName)
static

Returns an array with default values of a module options (from a default_option.php file).

Аргументы
string$optionNameName of option.
Возвращает
string|null

См. определение в файле config.php строка 51

◆ getNonSortPhraseLanguages()

getNonSortPhraseLanguages ( )
static

Returns list of languages in that is unnecessary to sort phrases.

Возвращает
string[]

См. определение в файле config.php строка 468

◆ getOption()

getOption ( string $optionName)
static

Returns an module option.

Аргументы
string$optionNameName of option.
Возвращает
string|null

См. определение в файле config.php строка 29

◆ getTranslationRepositoryLanguages()

getTranslationRepositoryLanguages ( )
static

Returns list of available in system translation languages.

Возвращает
string[]

См. определение в файле config.php строка 316

◆ isUtfMode()

isUtfMode ( )
static

Returns true id server is in utf-8 mode. False - otherwise.

Возвращает
boolean

См. определение в файле config.php строка 77

◆ needToBackUpFiles()

needToBackUpFiles ( )
static

Returns setting of necessity to backup language files.

Возвращает
bool

См. определение в файле config.php строка 394

◆ needToSortPhrases()

needToSortPhrases ( )
static

Returns setting of necessity to sort phrases in language files.

Возвращает
bool

См. определение в файле config.php строка 451

Поля

◆ OPTION_BACKUP_FILES

const OPTION_BACKUP_FILES = 'BACKUP_FILES'

См. определение в файле config.php строка 13

◆ OPTION_BACKUP_FOLDER

const OPTION_BACKUP_FOLDER = 'BACKUP_FOLDER'

См. определение в файле config.php строка 16

◆ OPTION_BUTTON_LANG_FILES

const OPTION_BUTTON_LANG_FILES = 'BUTTON_LANG_FILES'

См. определение в файле config.php строка 12

◆ OPTION_DONT_SORT_LANGUAGES

const OPTION_DONT_SORT_LANGUAGES = 'DONT_SORT_LANGUAGES'

См. определение в файле config.php строка 15

◆ OPTION_EXPORT_CSV_DELIMITER

const OPTION_EXPORT_CSV_DELIMITER = 'EXPORT_CSV_DELIMITER'

См. определение в файле config.php строка 17

◆ OPTION_EXPORT_FOLDER

const OPTION_EXPORT_FOLDER = 'EXPORT_FOLDER'

См. определение в файле config.php строка 18

◆ OPTION_INIT_FOLDERS

const OPTION_INIT_FOLDERS = 'INIT_FOLDERS'

См. определение в файле config.php строка 11

◆ OPTION_SORT_PHRASES

const OPTION_SORT_PHRASES = 'SORT_PHRASES'

См. определение в файле config.php строка 14


Объявления и описания членов класса находятся в файле: