Mage_Catalog_Block_Seo_Sitemap_Category Class Reference

Inheritance diagram for Mage_Catalog_Block_Seo_Sitemap_Category:

Mage_Catalog_Block_Seo_Sitemap_Abstract Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object Mage_Catalog_Block_Seo_Sitemap_Tree_Category

List of all members.

Public Member Functions

 getItemUrl ($category)

Protected Member Functions

 _prepareLayout ()


Detailed Description

Definition at line 35 of file Category.php.


Member Function Documentation

_prepareLayout (  )  [protected]

Initialize categories collection

Returns:
Mage_Catalog_Block_Seo_Sitemap_Category

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

Parameters:
Mage_Catalog_Model_Category $category
Returns:
string

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     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:23:37 2009 for Magento by  doxygen 1.5.8