PHP Class DBHelper, TeamPass

Mostra file Open project: nilsteampassnet/TeamPass Class Usage Examples

Public Methods

Method Description
reIndex ( ) * reIndex For an array of assoc rays, return a new array of assoc rays using a certain field for keys
verticalSlice ( $array, $field, $keyfield = null ) * verticalSlice 1. For an array of assoc rays, return an array of values for a particular key 2. if $keyfield is given, same as above but use that hash key as the key in new array

Method Details

reIndex() public static method

* reIndex For an array of assoc rays, return a new array of assoc rays using a certain field for keys
public static reIndex ( )

verticalSlice() public static method

* verticalSlice 1. For an array of assoc rays, return an array of values for a particular key 2. if $keyfield is given, same as above but use that hash key as the key in new array
public static verticalSlice ( $array, $field, $keyfield = null )