Documentation

EBArrayHelper
in package

Table of Contents

Methods

fromObject()  : mixed
Utility function to map an object to an array
getValue()  : mixed
Utility function to return a value from a named array or a specified default

Methods

fromObject()

Utility function to map an object to an array

public static fromObject(mixed $data) : mixed
Parameters
$data : mixed
Tags
since
5.2
access

public

getValue()

Utility function to return a value from a named array or a specified default

public static getValue(mixed $array, mixed $name[, mixed $default = null ][, mixed $type = '' ]) : mixed
Parameters
$array : mixed
$name : mixed
$default : mixed = null
$type : mixed = ''
Tags
since
5.2
access

public

Loading…
On this page

Search results