get Item, assoctivate array
<p>With this:</p>

<pre><code>//Example array
$arr = array(
'db' =&gt; array('host' =&gt; 'local', 'user' =&gt; 'root'));


    public function getParam($name, $default = null)
        {
            if (array_key_exists($name, $this-&gt;params)) {
                return $this-&gt;params[$name];
            }

            return $default;
        }
</code></pre>

<p>I can get the whole db array, but what if i want to reach the 'host' only with the getParam method() how do I need to extend the getParam method for this to be flexible and work in every undependant how deep the array is?</p>
