Bitrix API

Profile

Class Profile

Table of Contents

Constants

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

Methods

__construct()  : mixed
Profile constructor.
deleteLangPrefixes()  : $this
Delete lang prefixes.
getCallMethod()  : string|null
Get call method.
getCallParameter()  : array<string|int, mixed>
Get call parameter.
getDeleteLangPrefixes()  : array<string|int, mixed>
Return true if lang prefixes will delete.
getLanguage()  : string|null
Get language.
getProperties()  : array<string|int, mixed>
Get properties.
getProperty()  : mixed
Get property.
isAllLangs()  : bool
Return true if all langs uses.
isLangCamelCase()  : bool
Return true if lang camel case uses.
setCallMethod()  : $this
Set call method.
setCallParameter()  : $this
Set parameter.
setLanguage()  : $this
Set language.
setProperty()  : $this
Add property.
useAllLangs()  : $this
Use all languages.
useLangCamelCase()  : $this
Use lang camel case.

Constants

CALL_METHOD

public mixed CALL_METHOD = 'callMethod'

DELETE_LANG_PREFIXES

public mixed DELETE_LANG_PREFIXES = 'deleteLangPrefixes'

PROPERTIES

public mixed PROPERTIES = 'properties'

USE_ALL_LANGS

public mixed USE_ALL_LANGS = 'useAllLangs'

USE_LANG_CAMEL_CASE

public mixed USE_LANG_CAMEL_CASE = 'useLangCamelCase'

WEBPACKER

public mixed WEBPACKER = 'webpacker'

Methods

__construct()

Profile constructor.

public __construct([string $callMethod = null ][, null|array<string|int, mixed> $callParameter = null ]) : mixed
Parameters
$callMethod : string = null

Call method.

$callParameter : null|array<string|int, mixed> = null

Call parameter.

deleteLangPrefixes()

Delete lang prefixes.

public deleteLangPrefixes(array<string|int, mixed> $prefixes) : $this
Parameters
$prefixes : array<string|int, mixed>

Prefixes.

Return values
$this

getCallMethod()

Get call method.

public getCallMethod() : string|null
Return values
string|null

getCallParameter()

Get call parameter.

public getCallParameter() : array<string|int, mixed>
Return values
array<string|int, mixed>

getDeleteLangPrefixes()

Return true if lang prefixes will delete.

public getDeleteLangPrefixes() : array<string|int, mixed>
Return values
array<string|int, mixed>

getLanguage()

Get language.

public getLanguage() : string|null
Return values
string|null

getProperties()

Get properties.

public getProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>

getProperty()

Get property.

public getProperty(string $code) : mixed
Parameters
$code : string

Code.

isAllLangs()

Return true if all langs uses.

public isAllLangs() : bool
Return values
bool

isLangCamelCase()

Return true if lang camel case uses.

public isLangCamelCase() : bool
Return values
bool

setCallMethod()

Set call method.

public setCallMethod(string $callMethod) : $this
Parameters
$callMethod : string

Call method.

Return values
$this

setCallParameter()

Set parameter.

public setCallParameter(array<string|int, mixed> $callParameter) : $this
Parameters
$callParameter : array<string|int, mixed>

Call parameter.

Return values
$this

setLanguage()

Set language.

public setLanguage(string|null $language) : $this
Parameters
$language : string|null
Return values
$this

setProperty()

Add property.

public setProperty(string $name, mixed $value) : $this
Parameters
$name : string

Name.

$value : mixed

Value.

Return values
$this

useAllLangs()

Use all languages.

public useAllLangs(bool $use) : $this
Parameters
$use : bool

Use.

Return values
$this

useLangCamelCase()

Use lang camel case.

public useLangCamelCase(bool $use) : $this
Parameters
$use : bool

Use.

Return values
$this

        
On this page

Search results