title: How do I learn the methods that can be accessed for certain objects?
body: <p>I have the following code:</p>
  
  <pre><code>$_productCollection = Mage::getResourceModel('catalog/product_collection')  
  -&gt;addAttributeToSelect(array('name', 'price', 'small_image', 'status'), 'inner')  
  -&gt;addCategoryFilter(Mage::getModel('catalog/category')-&gt;load($catid)); 
  $_helper = $this-&gt;helper('catalog/output');
  foreach ($_productCollection as $_product):
      echo $_product-&gt;getProductUrl();
  endforeach
  </code></pre>
  
  <p>I want to learn how I discover the methods I can use on an object.</p>
  
  <p>For example $_product->getProductUrl() is using the method getProductUrl() to get the url, but I need price and have no idea what method calls that. Using a print_r doesn't provide enough info for me to discover what they are. I presume they are in controllers that are located in the MAGE core. I have commerce bug and I have tired looking at: <a href="http://docs.magentocommerce.com/" rel="noreferrer">http://docs.magentocommerce.com/</a>
  But I find myself lost at times. </p>
  
  <p>Does anyone know a good tutorial on this or can give me direction to figuring this out?</p>