Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Profile

Открытые члены

 __construct ($callMethod=null, array $callParameter=null)
 
 setProperty ($name, $value)
 
 getProperty ($code)
 
 getProperties ()
 
 getCallMethod ()
 
 getCallParameter ()
 
 setCallMethod ($callMethod)
 
 setCallParameter (array $callParameter)
 
 useLangCamelCase ($use)
 
 useAllLangs ($use)
 
 deleteLangPrefixes ($prefixes)
 
 isLangCamelCase ()
 
 isAllLangs ()
 
 getLanguage ()
 
 setLanguage ($language)
 
 getDeleteLangPrefixes ()
 

Открытые атрибуты

const WEBPACKER = 'webpacker'
 
const USE_LANG_CAMEL_CASE = 'useLangCamelCase'
 
const USE_ALL_LANGS = 'useAllLangs'
 
const DELETE_LANG_PREFIXES = 'deleteLangPrefixes'
 
const CALL_METHOD = 'callMethod'
 
const PROPERTIES = 'properties'
 

Защищенные данные

 $callMethod = ''
 
 $callParameter = []
 
 $properties = []
 
 $useLangCamelCase = false
 
 $useAllLangs = false
 
 $language = null
 
 $deleteLangPrefixes = []
 

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

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

Конструктор(ы)

◆ __construct()

__construct ( $callMethod = null,
array $callParameter = null )

Profile constructor.

Аргументы
string$callMethodCall method.
null | array$callParameterCall parameter.

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

Методы

◆ deleteLangPrefixes()

deleteLangPrefixes ( $prefixes)

Delete lang prefixes.

Аргументы
array$prefixesPrefixes.
Возвращает
$this

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

◆ getCallMethod()

getCallMethod ( )

Get call method.

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

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

◆ getCallParameter()

getCallParameter ( )

Get call parameter.

Возвращает
array

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

◆ getDeleteLangPrefixes()

getDeleteLangPrefixes ( )

Return true if lang prefixes will delete.

Возвращает
array

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

◆ getLanguage()

getLanguage ( )

Get language.

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

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

◆ getProperties()

getProperties ( )

Get properties.

Возвращает
array

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

◆ getProperty()

getProperty ( $code)

Get property.

Аргументы
string$codeCode.
Возвращает
mixed

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

◆ isAllLangs()

isAllLangs ( )

Return true if all langs uses.

Возвращает
bool

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

◆ isLangCamelCase()

isLangCamelCase ( )

Return true if lang camel case uses.

Возвращает
bool

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

◆ setCallMethod()

setCallMethod ( $callMethod)

Set call method.

Аргументы
string$callMethodCall method.
Возвращает
$this

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

◆ setCallParameter()

setCallParameter ( array $callParameter)

Set parameter.

Аргументы
array$callParameterCall parameter.
Возвращает
$this

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

◆ setLanguage()

setLanguage ( $language)

Set language.

Аргументы
string | null$language
Возвращает
$this

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

◆ setProperty()

setProperty ( $name,
$value )

Add property.

Аргументы
string$nameName.
mixed$valueValue.
Возвращает
$this

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

◆ useAllLangs()

useAllLangs ( $use)

Use all languages.

Аргументы
bool$useUse.
Возвращает
$this

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

◆ useLangCamelCase()

useLangCamelCase ( $use)

Use lang camel case.

Аргументы
bool$useUse.
Возвращает
$this

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

Данные класса

◆ $callMethod

$callMethod = ''
protected

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

◆ $callParameter

$callParameter = []
protected

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

◆ $deleteLangPrefixes

$deleteLangPrefixes = []
protected

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

◆ $language

$language = null
protected

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

◆ $properties

$properties = []
protected

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

◆ $useAllLangs

$useAllLangs = false
protected

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

◆ $useLangCamelCase

$useLangCamelCase = false
protected

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

◆ CALL_METHOD

const CALL_METHOD = 'callMethod'

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

◆ DELETE_LANG_PREFIXES

const DELETE_LANG_PREFIXES = 'deleteLangPrefixes'

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

◆ PROPERTIES

const PROPERTIES = 'properties'

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

◆ USE_ALL_LANGS

const USE_ALL_LANGS = 'useAllLangs'

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

◆ USE_LANG_CAMEL_CASE

const USE_LANG_CAMEL_CASE = 'useLangCamelCase'

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

◆ WEBPACKER

const WEBPACKER = 'webpacker'

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