title: get an array of all categories with details in Magento
body: <p>I want to be able to call through the API to get an array of all the categories with the details like the URL key.  That goal in the end will be an array like this</p>
  
  <pre><code>$massage_cats=array(
      array("entity_id"=&gt;78,
            "name"=&gt;"Massage Oils and Tools",
            "url_key"=&gt;"massage-oils-and-tools",
            "url_path"=&gt;"essential-accessories/massage-oils-and-tools.html"),
      array("entity_id"=&gt;79,
            "name"=&gt;"Massage Oils",
            "url_key"=&gt;"massage-oils",
            "url_path"=&gt;"essential-accessories/massage-oils-and-tools/massage-oils.html")
  );
  </code></pre>
  
  <p>So I would want to call out something like </p>
  
  <pre><code>$massage_cats= array();
  $allcats = Mage::getModel('catalog/cats?')-&gt;loadAll();
      foreach($allcats $k=&gt;$item){
          array_push($massage_cats,$item-&gt;loadDetails());
      }
  </code></pre>
  
  <p>I know that is totally made up and not real to the API but that is basically the goal. I do need the output as I showed it.  Ideas on the code to achieve the need?</p>