Configuration implements ArrayAccess, Iterator, Countable
FinalYes
Table of Contents
Interfaces
- ArrayAccess
- Iterator
- Countable
Constants
- CONFIGURATION_FILE = '.settings.php'
- CONFIGURATION_FILE_EXTRA = '.settings_extra.php'
- CONFIGURATION_FILE_PATH = '/bitrix/' . self::CONFIGURATION_FILE
Methods
- add() : void
- addReadonly() : void
- Changes readonly params.
- count() : int
- current() : mixed
- delete() : void
- get() : mixed
- getInstance() : self
- getValue() : mixed
- key() : mixed
- next() : void
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
- rewind() : void
- saveConfiguration() : void
- setValue() : void
- valid() : bool
- wnc() : void
Constants
CONFIGURATION_FILE
public
mixed
CONFIGURATION_FILE
= '.settings.php'
CONFIGURATION_FILE_EXTRA
public
mixed
CONFIGURATION_FILE_EXTRA
= '.settings_extra.php'
CONFIGURATION_FILE_PATH
public
mixed
CONFIGURATION_FILE_PATH
= '/bitrix/' . self::CONFIGURATION_FILE
Methods
add()
public
add(mixed $name, mixed $value) : void
Parameters
- $name : mixed
- $value : mixed
addReadonly()
Changes readonly params.
public
addReadonly(string $name, array<string|int, mixed> $value) : void
Warning! Developer must use this method very carefully! You must use this method only if you know what you do!
Parameters
- $name : string
- $value : array<string|int, mixed>
count()
public
count() : int
Return values
intcurrent()
public
current() : mixed
delete()
public
delete(mixed $name) : void
Parameters
- $name : mixed
get()
public
get(mixed $name) : mixed
Parameters
- $name : mixed
getInstance()
public
static getInstance([mixed $moduleId = null ]) : self
Parameters
- $moduleId : mixed = null
Return values
selfgetValue()
public
static getValue(mixed $name) : mixed
Parameters
- $name : mixed
key()
public
key() : mixed
next()
public
next() : void
offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
rewind()
public
rewind() : void
saveConfiguration()
public
saveConfiguration() : void
setValue()
public
static setValue(mixed $name, mixed $value) : void
Parameters
- $name : mixed
- $value : mixed
valid()
public
valid() : bool
Return values
boolwnc()
public
static wnc() : void