Public Member Functions | |
getItemUrl ($category) | |
Protected Member Functions | |
_prepareLayout () |
Definition at line 35 of file Category.php.
_prepareLayout | ( | ) | [protected] |
Initialize categories collection
Reimplemented from Mage_Core_Block_Abstract.
Reimplemented in Mage_Catalog_Block_Seo_Sitemap_Tree_Category.
Definition at line 43 of file Category.php.
00044 { 00045 $helper = Mage::helper('catalog/category'); 00046 /* @var $helper Mage_Catalog_Helper_Category */ 00047 $collection = $helper->getStoreCategories('name', true, false); 00048 $this->setCollection($collection); 00049 return $this; 00050 }
getItemUrl | ( | $ | category | ) |
Get item URL
Mage_Catalog_Model_Category | $category |
Reimplemented from Mage_Catalog_Block_Seo_Sitemap_Abstract.
Definition at line 58 of file Category.php.
00059 { 00060 $helper = Mage::helper('catalog/category'); 00061 /* @var $helper Mage_Catalog_Helper_Category */ 00062 return $helper->getCategoryUrl($category); 00063 }