Documentation

FCArrayHelper
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
isAssociative()  : mixed
Method to determine if an array is an associative array.
toInteger()  : mixed
Method to convert array to integer values

Methods

fromObject()

Utility function to map an object to an array

public static fromObject(mixed $data) : mixed
Parameters
$data : mixed
Tags
since
1.1.0
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
1.1.0
access

public

isAssociative()

Method to determine if an array is an associative array.

public static isAssociative(mixed $array) : mixed
Parameters
$array : mixed
Tags
since
1.1.0
access

public

toInteger()

Method to convert array to integer values

public static toInteger(mixed $array[, mixed $default = null ]) : mixed
Parameters
$array : mixed
$default : mixed = null
Tags
since
1.1.0
access

public


        
On this page

Search results