title: Getting Menu Parameters from Joomla
body: <p>I'm trying to get parameters from the menu table in Joomla. What I have below is working in the sense that it is returning the parameters.</p>
  
  <pre><code> $menu =   &amp;JSite::getMenu();
   $item =  $menu-&gt;getItem($menuId)-&gt;params;
   print $items;
  </code></pre>
  
  <p>However, It's returning them in plain text, as if I had just queried the column and returned the params contents. </p>
  
  <p>Can someone tell me how to return this as an Object or Array so that I can use something like:</p>
  
  <pre><code>$myParam = $item-&gt;getParams('theParamIwant');
  </code></pre>