Bitrix API

Log implements ArrayAccess

Table of Contents

Interfaces

ArrayAccess

Properties

$data  : mixed

Methods

__construct()  : void
Log constructor.
getLog()  : array<string|int, mixed>
getValue()  : mixed
offsetExists()  : bool
offsetGet()  : mixed|null
offsetSet()  : void
offsetUnset()  : void
save()  : mixed
setLog()  : $this
Saves log.
unlink()  : mixed

Properties

Methods

__construct()

Log constructor.

public __construct(string $path) : void
Parameters
$path : string

Path to log file.

getLog()

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

getValue()

public getValue(mixed $key) : mixed
Parameters
$key : mixed

offsetExists()

public offsetExists(mixed $offset) : bool
Parameters
$offset : mixed
Return values
bool

offsetGet()

public offsetGet(mixed $offset) : mixed|null
Parameters
$offset : mixed
Attributes
#[ReturnTypeWillChange]
Return values
mixed|null

offsetSet()

public offsetSet(mixed $offset, mixed $value) : void
Parameters
$offset : mixed
$value : mixed

offsetUnset()

public offsetUnset(mixed $offset) : void
Parameters
$offset : mixed

setLog()

Saves log.

public setLog(string $key, mixed $value) : $this
Parameters
$key : string

Key of log array.

$value : mixed

value of log array.

Return values
$this

        
On this page

Search results