title: Loop through categories in Magento
body: <p>I have several categories in my Magento shop and want to change their name. As you can loop through all products</p>
  
  <pre><code>$_productCollection = Mage::getModel('catalog/product')
                      -&gt;getCollection()
                      -&gt;addAttributeToSelect('description')
                      -&gt;load();
  foreach($_productCollection as $_product) {
  </code></pre>
  
  <p>I thought there is a way to loop through categories too.
  Is there a way to do that?</p>
  
  <p>Thanks in advance!</p>