Ubiquity
2.5.2
php rapid development framework
|
Array utilities. More...
Static Public Member Functions | |
static | isAssociative ($array) |
Tests if array is associative. More... | |
static | extractKeys ($array, $keys) |
Returns a new array with the keys $keys. More... | |
static | getValue ($array, $key, $pos) |
static | getRecursive ($array, $key, $default=null) |
static | getDefaultValue ($array, $key, $default) |
static | save ($array, $filename) |
Save a php array to the disk. More... | |
static | remove ($array, $search) |
static | removeByKey ($array, $key) |
Removes from array by key. More... | |
static | removeRecursive (&$array, $key) |
static | removeByKeys ($array, $keys) |
static | removeOne ($array, $search) |
static | update (&$array, $search, $newValue) |
static | doubleBackSlashes (&$array) |
static | iSearch ($needle, $haystack, $strict=false) |
static | iRemove ($array, $search) |
static | iRemoveOne ($array, $search) |
static | implodeAsso ($array, $glue, $op='=', $quoteKey='"', $quoteValue = '"') |
static | toJSON ($array) |
Static Public Member Functions inherited from UArrayAsTrait | |
static | asPhpArray ($array, $prefix='', $depth=1, $format=false) |
static | asPhpArray_ ($array, $depth=1, $format=false) |
static | asPhpAttribute ($array, $prefix='', $depth=1, $format=false) |
static | asPhpClass ($array, $name, $namespace='', $format=false) |
static | asJSON ($array) |
Array utilities.
Ubiquity$UArray This class is part of Ubiquity
Definition at line 16 of file UArray.php.
|
static |
|
static |
Returns a new array with the keys $keys.
array | $array | an associative array |
array | $keys | some keys |
Definition at line 35 of file UArray.php.
|
static |
Definition at line 81 of file UArray.php.
|
static |
array | $array | |
string | int | $key | |
mixed | $default |
Definition at line 68 of file UArray.php.
|
static |
array | $array | |
string | $key | |
int | $pos |
Definition at line 52 of file UArray.php.
|
static |
Definition at line 187 of file UArray.php.
|
static |
Definition at line 169 of file UArray.php.
|
static |
Definition at line 180 of file UArray.php.
|
static |
Tests if array is associative.
array | $array |
Definition at line 24 of file UArray.php.
|
static |
Definition at line 165 of file UArray.php.
|
static |
Definition at line 97 of file UArray.php.
|
static |
Removes from array by key.
array | $array | |
int | string | $key |
Definition at line 115 of file UArray.php.
|
static |
Definition at line 132 of file UArray.php.
|
static |
Definition at line 140 of file UArray.php.
|
static |
Definition at line 122 of file UArray.php.
|
static |
Save a php array to the disk.
array | $array | The array to save |
string | $filename | The path of the file to save in |
Definition at line 92 of file UArray.php.
|
static |
Definition at line 199 of file UArray.php.
|
static |
Definition at line 147 of file UArray.php.