@@ 330-335 (lines=6) @@ | ||
327 | $keys = explode('.', $key); |
|
328 | ||
329 | // Crawl through the keys |
|
330 | while (count($keys) > 1) { |
|
331 | $key = array_shift($keys); |
|
332 | ||
333 | $this->array[$key] = $this->get(array(), null, $key); |
|
334 | $this->array = &$this->array[$key]; |
|
335 | } |
|
336 | ||
337 | // Bind final tree on the array |
|
338 | $key = array_shift($keys); |
|
@@ 356-364 (lines=9) @@ | ||
353 | $keys = explode('.', $key); |
|
354 | ||
355 | // Crawl though the keys |
|
356 | while (count($keys) > 1) { |
|
357 | $key = array_shift($keys); |
|
358 | ||
359 | if (!$this->has($key)) { |
|
360 | return false; |
|
361 | } |
|
362 | ||
363 | $this->array = &$this->array[$key]; |
|
364 | } |
|
365 | ||
366 | $key = array_shift($keys); |
|
367 |