Method |
Description |
|
append ( array $array, array &$dest ) : array |
Append an array or key value pairs array in a destination array. The $dest array is changed. |
|
arrayExtractByKey ( array $sourceArray, array $arrayKeys ) : array |
Return a new key value pairs array with element that match with key of the second array. In other words, if the
key of $array_extract is found in keys of $array_key, then that element is catch, else is ignored. |
|
arrayMatch ( array $array_keys, array $array_match ) : array |
Return a new key value pairs array with element that match with key of the second array. In other words, if the
key of $array_match is found in $array_keys, then that element is catch, else is ignored. |
|
arrayMatchWithKeys ( array $array, array $array_match ) : array |
This is an alias of WPDKArray::arrayMatch() for key value pairs array |
|
arrayMatchWithValues ( array $array, array $array_match ) : array |
This is an alias of WPDKArray::arrayMatch() for key value pairs array |
|
arrayToObject ( array $array ) : object |
Convert an array into a stdClass() |
|
arrayWithKey ( array $array_key, array $array_extract ) : array |
Return a new key value pairs array with element that match with key of the second array. In other words, if the
key of $array_extract is found in keys of $array_key, then that element is catch, else is ignored. |
|
fit ( array $source, array $defaults ) : array |
Return a merged array from default and source. If source array has some key miss in defaults array, an unset on
that key is performed. |
|
httpBuildQuery ( array $formdata, null $numeric_prefix = null, null $arg_separator = null ) : string |
Simulates the behavior of http_build_query() in the previous versions of php 5 |
|
insert ( array &$arr, array $new, integer $index ) : array |
Insert an array or key value pairs array in a second array to a specify index |
|
insertKeyValuePairs ( array $arr, string $key, mixed $val, integer $index ) : array |
Insert a key => value into a second array to a specify index |
|
objectToArray ( object $object ) : array |
Convert a object to an array |
|
prepend ( array $array, array &$dest ) : array |
Prepend an array or key value pairs array in a destination array. The $dest array is changed. |
|
stripKeys ( array $source, array $keeplist ) : mixed |
Return a key pairs array start from source without the keys not present in keeplist |
|
wrapArray ( array $array ) : array |
Warp each element of an array with an array |
|