CaMykS  1.0-20181201
 All Classes Files Functions Variables Pages
Functions
array.php.inc File Reference

Array specific methods. More...

Functions

 array_dropValue ($array=array(), $value=null, $keepKeys=true)
 
 array_recursiveMerge ($array1=array(), $array2=array())
 
 array_checkNumeric ($array=array())
 
 array_checkInteger ($array=array())
 
 array_abs ($array=array())
 
 array_applySameValue ($array, $value=null)
 

Detailed Description

Array specific methods.

Engine / Tool Library

Author
CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m
Version
1.1
Date
Creation: Jan 2010
Modification: Aug 2018
Note
This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Function Documentation

array_abs (   $array = array())

Return array with all abs values.

Parameters
array$array
Returns
array
array_applySameValue (   $array,
  $value = null 
)

Apply the same value on every key then return it.

Parameters
array$array
mixed$value
Returns
array
array_checkInteger (   $array = array())

Check if all elements are integers (strict).

Parameters
array$array
Returns
boolean result
array_checkNumeric (   $array = array())

Check if all elements are numerics or numeric strings.

Parameters
array$array
Returns
boolean result
array_dropValue (   $array = array(),
  $value = null,
  $keepKeys = true 
)

Drop given value from array.

Parameters
array$array
mixed$value
boolean$keepKeys
Returns
string
array_recursiveMerge (   $array1 = array(),
  $array2 = array() 
)

Merge arrays.

Parameters
array$array1
array$array2
Returns
array