1 | <?php |
||
3 | class Ajde_Core_Array |
||
4 | { |
||
5 | /** |
||
6 | * TODO |
||
7 | * |
||
8 | * @param array $array1 |
||
9 | * @param array $array2 |
||
10 | * @return array |
||
11 | */ |
||
12 | public static function mergeRecursive(array $array1, array $array2) |
||
30 | |||
31 | /** |
||
32 | * Get an item from an array using "dot" notation. |
||
33 | * |
||
34 | * @param array $array |
||
35 | * @param string $key |
||
36 | * @param mixed $default |
||
37 | * @return mixed |
||
38 | */ |
||
39 | public static function get($array, $key, $default = null) |
||
55 | |||
56 | /** |
||
57 | * Set an array item to a given value using "dot" notation. |
||
58 | * |
||
59 | * If no key is given to the method, the entire array will be replaced. |
||
60 | * |
||
61 | * @param array $array |
||
62 | * @param string $key |
||
63 | * @param mixed $value |
||
64 | * @return array |
||
65 | */ |
||
66 | public static function set(&$array, $key, $value) |
||
91 | } |
||
92 |