ArrayHelper
in package
General array help.
Table of Contents
- contains() : bool
- getElement() : mixed|null
- hasKey() : bool
- indexOf() : mixed
- remove() : bool
Methods
contains()
public
static contains(array<string|int, mixed> $aData, $Value[, $Key = null ]) : bool
Parameters
Return values
bool —getElement()
public
static getElement(array<string|int, mixed> $aData, $sKey[, null $Default = null ]) : mixed|null
Parameters
Return values
mixed|null —hasKey()
public
static hasKey(array<string|int, mixed> $aData, $Key) : bool
Parameters
Return values
bool —indexOf()
public
static indexOf(array<string|int, mixed> $aData, $Item) : mixed
Parameters
Return values
mixed —remove()
public
static remove(array<string|int, mixed> &$aData, $Item) : bool