Logidav Docs

AxArrayHelper
in package

Table of Contents

Methods

arrayValueRecursive()  : mixed
getValue()  : mixed|null
index()  : array<string|int, mixed>|mixed
keyExists()  : mixed

Methods

arrayValueRecursive()

public static arrayValueRecursive(mixed $key, array<string|int, mixed> $arr) : mixed
Parameters
$key : mixed
$arr : array<string|int, mixed>

getValue()

public static getValue(mixed $array, mixed $key[, null $default = null ]) : mixed|null
Parameters
$array : mixed
$key : mixed
$default : null = null
Tags
throws
Exception
Return values
mixed|null

index()

public static index(mixed $array, mixed $key[, array<string|int, mixed> $groups = [] ]) : array<string|int, mixed>|mixed
Parameters
$array : mixed
$key : mixed
$groups : array<string|int, mixed> = []
Tags
throws
Exception
Return values
array<string|int, mixed>|mixed

keyExists()

public static keyExists(mixed $key, mixed $array[, mixed $caseSensitive = true ]) : mixed
Parameters
$key : mixed
$array : mixed
$caseSensitive : mixed = true

        
On this page

Search results