Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_Catalog_Block_Breadcrumbs
  • Mage_Catalog_Block_Category_View
  • Mage_Catalog_Block_Category_Widget_Link
  • Mage_Catalog_Block_Layer_Filter_Abstract
  • Mage_Catalog_Block_Layer_Filter_Attribute
  • Mage_Catalog_Block_Layer_Filter_Category
  • Mage_Catalog_Block_Layer_Filter_Decimal
  • Mage_Catalog_Block_Layer_Filter_Price
  • Mage_Catalog_Block_Layer_State
  • Mage_Catalog_Block_Layer_View
  • Mage_Catalog_Block_Navigation
  • Mage_Catalog_Block_Product
  • Mage_Catalog_Block_Product_Abstract
  • Mage_Catalog_Block_Product_Compare_Abstract
  • Mage_Catalog_Block_Product_Compare_List
  • Mage_Catalog_Block_Product_Compare_Sidebar
  • Mage_Catalog_Block_Product_Gallery
  • Mage_Catalog_Block_Product_List
  • Mage_Catalog_Block_Product_List_Crosssell
  • Mage_Catalog_Block_Product_List_Promotion
  • Mage_Catalog_Block_Product_List_Random
  • Mage_Catalog_Block_Product_List_Related
  • Mage_Catalog_Block_Product_List_Toolbar
  • Mage_Catalog_Block_Product_List_Upsell
  • Mage_Catalog_Block_Product_New
  • Mage_Catalog_Block_Product_Price
  • Mage_Catalog_Block_Product_Price_Template
  • Mage_Catalog_Block_Product_Send
  • Mage_Catalog_Block_Product_View
  • Mage_Catalog_Block_Product_View_Abstract
  • Mage_Catalog_Block_Product_View_Additional
  • Mage_Catalog_Block_Product_View_Attributes
  • Mage_Catalog_Block_Product_View_Description
  • Mage_Catalog_Block_Product_View_Media
  • Mage_Catalog_Block_Product_View_Options
  • Mage_Catalog_Block_Product_View_Options_Abstract
  • Mage_Catalog_Block_Product_View_Options_Type_Date
  • Mage_Catalog_Block_Product_View_Options_Type_Default
  • Mage_Catalog_Block_Product_View_Options_Type_File
  • Mage_Catalog_Block_Product_View_Options_Type_Select
  • Mage_Catalog_Block_Product_View_Options_Type_Text
  • Mage_Catalog_Block_Product_View_Price
  • Mage_Catalog_Block_Product_View_Tabs
  • Mage_Catalog_Block_Product_View_Type_Configurable
  • Mage_Catalog_Block_Product_View_Type_Grouped
  • Mage_Catalog_Block_Product_View_Type_Simple
  • Mage_Catalog_Block_Product_View_Type_Virtual
  • Mage_Catalog_Block_Product_Widget_Link
  • Mage_Catalog_Block_Product_Widget_New
  • Mage_Catalog_Block_Seo_Sitemap_Abstract
  • Mage_Catalog_Block_Seo_Sitemap_Category
  • Mage_Catalog_Block_Seo_Sitemap_Product
  • Mage_Catalog_Block_Seo_Sitemap_Tree_Category
  • Mage_Catalog_Block_Widget_Link
  • Mage_Catalog_CategoryController
  • Mage_Catalog_Exception
  • Mage_Catalog_Helper_Category
  • Mage_Catalog_Helper_Category_Flat
  • Mage_Catalog_Helper_Data
  • Mage_Catalog_Helper_Image
  • Mage_Catalog_Helper_Map
  • Mage_Catalog_Helper_Output
  • Mage_Catalog_Helper_Product
  • Mage_Catalog_Helper_Product_Compare
  • Mage_Catalog_Helper_Product_Configuration
  • Mage_Catalog_Helper_Product_Flat
  • Mage_Catalog_Helper_Product_Options
  • Mage_Catalog_Helper_Product_Url
  • Mage_Catalog_Helper_Product_View
  • Mage_Catalog_IndexController
  • Mage_Catalog_Model_Abstract
  • Mage_Catalog_Model_Api2_Product
  • Mage_Catalog_Model_Api2_Product_Category
  • Mage_Catalog_Model_Api2_Product_Category_Rest
  • Mage_Catalog_Model_Api2_Product_Category_Rest_Admin_V1
  • Mage_Catalog_Model_Api2_Product_Category_Rest_Customer_V1
  • Mage_Catalog_Model_Api2_Product_Category_Rest_Guest_V1
  • Mage_Catalog_Model_Api2_Product_Image
  • Mage_Catalog_Model_Api2_Product_Image_Rest
  • Mage_Catalog_Model_Api2_Product_Image_Rest_Admin_V1
  • Mage_Catalog_Model_Api2_Product_Image_Rest_Customer_V1
  • Mage_Catalog_Model_Api2_Product_Image_Rest_Guest_V1
  • Mage_Catalog_Model_Api2_Product_Image_Validator_Image
  • Mage_Catalog_Model_Api2_Product_Rest
  • Mage_Catalog_Model_Api2_Product_Rest_Admin_V1
  • Mage_Catalog_Model_Api2_Product_Rest_Customer_V1
  • Mage_Catalog_Model_Api2_Product_Rest_Guest_V1
  • Mage_Catalog_Model_Api2_Product_Validator_Product
  • Mage_Catalog_Model_Api2_Product_Website
  • Mage_Catalog_Model_Api2_Product_Website_Rest
  • Mage_Catalog_Model_Api2_Product_Website_Rest_Admin_V1
  • Mage_Catalog_Model_Api2_Product_Website_Validator_Admin_Website
  • Mage_Catalog_Model_Api_Resource
  • Mage_Catalog_Model_Attribute_Backend_Customlayoutupdate
  • Mage_Catalog_Model_Category
  • Mage_Catalog_Model_Category_Api
  • Mage_Catalog_Model_Category_Api_V2
  • Mage_Catalog_Model_Category_Attribute_Api
  • Mage_Catalog_Model_Category_Attribute_Api_V2
  • Mage_Catalog_Model_Category_Attribute_Backend_Image
  • Mage_Catalog_Model_Category_Attribute_Backend_Sortby
  • Mage_Catalog_Model_Category_Attribute_Backend_Urlkey
  • Mage_Catalog_Model_Category_Attribute_Source_Layout
  • Mage_Catalog_Model_Category_Attribute_Source_Mode
  • Mage_Catalog_Model_Category_Attribute_Source_Page
  • Mage_Catalog_Model_Category_Attribute_Source_Sortby
  • Mage_Catalog_Model_Category_Indexer_Flat
  • Mage_Catalog_Model_Category_Indexer_Product
  • Mage_Catalog_Model_Config
  • Mage_Catalog_Model_Convert
  • Mage_Catalog_Model_Convert_Adapter_Catalog
  • Mage_Catalog_Model_Convert_Adapter_Product
  • Mage_Catalog_Model_Convert_Parser_Product
  • Mage_Catalog_Model_Design
  • Mage_Catalog_Model_Entity_Attribute
  • Mage_Catalog_Model_Entity_Product_Attribute_Frontend_Image
  • Mage_Catalog_Model_Index
  • Mage_Catalog_Model_Indexer_Url
  • Mage_Catalog_Model_Layer
  • Mage_Catalog_Model_Layer_Filter_Abstract
  • Mage_Catalog_Model_Layer_Filter_Attribute
  • Mage_Catalog_Model_Layer_Filter_Category
  • Mage_Catalog_Model_Layer_Filter_Decimal
  • Mage_Catalog_Model_Layer_Filter_Item
  • Mage_Catalog_Model_Layer_Filter_Price
  • Mage_Catalog_Model_Layer_Filter_Price_Algorithm
  • Mage_Catalog_Model_Layer_State
  • Mage_Catalog_Model_Observer
  • Mage_Catalog_Model_Product
  • Mage_Catalog_Model_Product_Action
  • Mage_Catalog_Model_Product_Api
  • Mage_Catalog_Model_Product_Api_V2
  • Mage_Catalog_Model_Product_Attribute_Api
  • Mage_Catalog_Model_Product_Attribute_Api_V2
  • Mage_Catalog_Model_Product_Attribute_Backend_Boolean
  • Mage_Catalog_Model_Product_Attribute_Backend_Groupprice
  • Mage_Catalog_Model_Product_Attribute_Backend_Groupprice_Abstract
  • Mage_Catalog_Model_Product_Attribute_Backend_Media
  • Mage_Catalog_Model_Product_Attribute_Backend_Msrp
  • Mage_Catalog_Model_Product_Attribute_Backend_Price
  • Mage_Catalog_Model_Product_Attribute_Backend_Recurring
  • Mage_Catalog_Model_Product_Attribute_Backend_Sku
  • Mage_Catalog_Model_Product_Attribute_Backend_Startdate
  • Mage_Catalog_Model_Product_Attribute_Backend_Tierprice
  • Mage_Catalog_Model_Product_Attribute_Backend_Urlkey
  • Mage_Catalog_Model_Product_Attribute_Frontend_Image
  • Mage_Catalog_Model_Product_Attribute_Group
  • Mage_Catalog_Model_Product_Attribute_Media_Api
  • Mage_Catalog_Model_Product_Attribute_Media_Api_V2
  • Mage_Catalog_Model_Product_Attribute_Set_Api
  • Mage_Catalog_Model_Product_Attribute_Set_Api_V2
  • Mage_Catalog_Model_Product_Attribute_Source_Boolean
  • Mage_Catalog_Model_Product_Attribute_Source_Countryofmanufacture
  • Mage_Catalog_Model_Product_Attribute_Source_Layout
  • Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type
  • Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type_Enabled
  • Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type_Price
  • Mage_Catalog_Model_Product_Attribute_Tierprice_Api
  • Mage_Catalog_Model_Product_Attribute_Tierprice_Api_V2
  • Mage_Catalog_Model_Product_Compare_Item
  • Mage_Catalog_Model_Product_Compare_List
  • Mage_Catalog_Model_Product_Condition
  • Mage_Catalog_Model_Product_Configuration_Item_Option
  • Mage_Catalog_Model_Product_Flat_Flag
  • Mage_Catalog_Model_Product_Flat_Indexer
  • Mage_Catalog_Model_Product_Flat_Observer
  • Mage_Catalog_Model_Product_Image
  • Mage_Catalog_Model_Product_Indexer_Eav
  • Mage_Catalog_Model_Product_Indexer_Flat
  • Mage_Catalog_Model_Product_Indexer_Price
  • Mage_Catalog_Model_Product_Link
  • Mage_Catalog_Model_Product_Link_Api
  • Mage_Catalog_Model_Product_Link_Api_V2
  • Mage_Catalog_Model_Product_Media_Config
  • Mage_Catalog_Model_Product_Option
  • Mage_Catalog_Model_Product_Option_Api
  • Mage_Catalog_Model_Product_Option_Api_V2
  • Mage_Catalog_Model_Product_Option_Observer
  • Mage_Catalog_Model_Product_Option_Type_Date
  • Mage_Catalog_Model_Product_Option_Type_Default
  • Mage_Catalog_Model_Product_Option_Type_File
  • Mage_Catalog_Model_Product_Option_Type_Select
  • Mage_Catalog_Model_Product_Option_Type_Text
  • Mage_Catalog_Model_Product_Option_Value
  • Mage_Catalog_Model_Product_Option_Value_Api
  • Mage_Catalog_Model_Product_Option_Value_Api_V2
  • Mage_Catalog_Model_Product_Status
  • Mage_Catalog_Model_Product_Type
  • Mage_Catalog_Model_Product_Type_Abstract
  • Mage_Catalog_Model_Product_Type_Api
  • Mage_Catalog_Model_Product_Type_Api_V2
  • Mage_Catalog_Model_Product_Type_Configurable
  • Mage_Catalog_Model_Product_Type_Configurable_Attribute
  • Mage_Catalog_Model_Product_Type_Configurable_Price
  • Mage_Catalog_Model_Product_Type_Grouped
  • Mage_Catalog_Model_Product_Type_Grouped_Price
  • Mage_Catalog_Model_Product_Type_Price
  • Mage_Catalog_Model_Product_Type_Simple
  • Mage_Catalog_Model_Product_Type_Virtual
  • Mage_Catalog_Model_Product_Url
  • Mage_Catalog_Model_Product_Visibility
  • Mage_Catalog_Model_Product_Website
  • Mage_Catalog_Model_Resource_Abstract
  • Mage_Catalog_Model_Resource_Attribute
  • Mage_Catalog_Model_Resource_Category
  • Mage_Catalog_Model_Resource_Category_Attribute_Collection
  • Mage_Catalog_Model_Resource_Category_Attribute_Frontend_Image
  • Mage_Catalog_Model_Resource_Category_Attribute_Source_Layout
  • Mage_Catalog_Model_Resource_Category_Attribute_Source_Mode
  • Mage_Catalog_Model_Resource_Category_Attribute_Source_Page
  • Mage_Catalog_Model_Resource_Category_Collection
  • Mage_Catalog_Model_Resource_Category_Flat
  • Mage_Catalog_Model_Resource_Category_Flat_Collection
  • Mage_Catalog_Model_Resource_Category_Indexer_Product
  • Mage_Catalog_Model_Resource_Category_Tree
  • Mage_Catalog_Model_Resource_Collection_Abstract
  • Mage_Catalog_Model_Resource_Config
  • Mage_Catalog_Model_Resource_Eav_Attribute
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Abstract
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Attribute
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Category
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Attribute_Collection
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Attribute_Frontend_Image
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Attribute_Source_Layout
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Attribute_Source_Mode
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Attribute_Source_Page
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Collection
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Flat
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Flat_Collection
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Indexer_Product
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Tree
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Config
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Layer_Filter_Attribute
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Layer_Filter_Decimal
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Layer_Filter_Price
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Action
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Attribute_Backend_Image
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Attribute_Backend_Media
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Attribute_Backend_Tierprice
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Attribute_Backend_Urlkey
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Attribute_Collection
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Attribute_Frontend_Image
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Attribute_Frontend_Tierprice
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Compare_Item
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Compare_Item_Collection
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Flat
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Flat_Indexer
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Abstract
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Eav
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Eav_Abstract
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Eav_Decimal
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Eav_Source
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Configurable
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Default
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Grouped
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Link
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Link_Collection
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Link_Product_Collection
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Option
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Option_Collection
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Option_Value
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Option_Value_Collection
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Relation
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Status
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Type_Configurable
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Type_Configurable_Attribute
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Type_Configurable_Attribute_Collection
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Type_Configurable_Product_Collection
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Website
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Sendfriend
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Sendfriend_Collection
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Setup
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Url
  • Mage_Catalog_Model_Resource_Helper_Mysql4
  • Mage_Catalog_Model_Resource_Layer_Filter_Attribute
  • Mage_Catalog_Model_Resource_Layer_Filter_Decimal
  • Mage_Catalog_Model_Resource_Layer_Filter_Price
  • Mage_Catalog_Model_Resource_Product
  • Mage_Catalog_Model_Resource_Product_Action
  • Mage_Catalog_Model_Resource_Product_Attribute_Backend_Groupprice
  • Mage_Catalog_Model_Resource_Product_Attribute_Backend_Groupprice_Abstract
  • Mage_Catalog_Model_Resource_Product_Attribute_Backend_Image
  • Mage_Catalog_Model_Resource_Product_Attribute_Backend_Media
  • Mage_Catalog_Model_Resource_Product_Attribute_Backend_Tierprice
  • Mage_Catalog_Model_Resource_Product_Attribute_Backend_Urlkey
  • Mage_Catalog_Model_Resource_Product_Attribute_Collection
  • Mage_Catalog_Model_Resource_Product_Attribute_Frontend_Image
  • Mage_Catalog_Model_Resource_Product_Attribute_Frontend_Tierprice
  • Mage_Catalog_Model_Resource_Product_Collection
  • Mage_Catalog_Model_Resource_Product_Compare_Item
  • Mage_Catalog_Model_Resource_Product_Compare_Item_Collection
  • Mage_Catalog_Model_Resource_Product_Flat
  • Mage_Catalog_Model_Resource_Product_Flat_Indexer
  • Mage_Catalog_Model_Resource_Product_Indexer_Abstract
  • Mage_Catalog_Model_Resource_Product_Indexer_Eav
  • Mage_Catalog_Model_Resource_Product_Indexer_Eav_Abstract
  • Mage_Catalog_Model_Resource_Product_Indexer_Eav_Decimal
  • Mage_Catalog_Model_Resource_Product_Indexer_Eav_Source
  • Mage_Catalog_Model_Resource_Product_Indexer_Price
  • Mage_Catalog_Model_Resource_Product_Indexer_Price_Configurable
  • Mage_Catalog_Model_Resource_Product_Indexer_Price_Default
  • Mage_Catalog_Model_Resource_Product_Indexer_Price_Grouped
  • Mage_Catalog_Model_Resource_Product_Link
  • Mage_Catalog_Model_Resource_Product_Link_Collection
  • Mage_Catalog_Model_Resource_Product_Link_Product_Collection
  • Mage_Catalog_Model_Resource_Product_Option
  • Mage_Catalog_Model_Resource_Product_Option_Collection
  • Mage_Catalog_Model_Resource_Product_Option_Value
  • Mage_Catalog_Model_Resource_Product_Option_Value_Collection
  • Mage_Catalog_Model_Resource_Product_Relation
  • Mage_Catalog_Model_Resource_Product_Status
  • Mage_Catalog_Model_Resource_Product_Type_Configurable
  • Mage_Catalog_Model_Resource_Product_Type_Configurable_Attribute
  • Mage_Catalog_Model_Resource_Product_Type_Configurable_Attribute_Collection
  • Mage_Catalog_Model_Resource_Product_Type_Configurable_Product_Collection
  • Mage_Catalog_Model_Resource_Product_Website
  • Mage_Catalog_Model_Resource_Setup
  • Mage_Catalog_Model_Resource_Url
  • Mage_Catalog_Model_Session
  • Mage_Catalog_Model_System_Config_Backend_Catalog_Category_Flat
  • Mage_Catalog_Model_System_Config_Backend_Catalog_Product_Flat
  • Mage_Catalog_Model_System_Config_Backend_Catalog_Url_Rewrite_Suffix
  • Mage_Catalog_Model_Template_Filter
  • Mage_Catalog_Model_Url
  • Mage_Catalog_Product_CompareController
  • Mage_Catalog_ProductController
  • Mage_Catalog_Seo_SitemapController
  • Mage_CatalogSearch_Model_Resource_Helper_Mysql4
  • Mage_XmlConnect_Model_Catalog_Category_Media_Config

Interfaces

  • Mage_Catalog_Helper_Product_Configuration_Interface
  • Mage_Catalog_Model_Product_Condition_Interface
  • Mage_Catalog_Model_Product_Configuration_Item_Interface
  • Mage_Catalog_Model_Product_Configuration_Item_Option_Interface
  • Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Interface
  • Mage_Catalog_Model_Resource_Product_Indexer_Price_Interface
  • Overview
  • Package
  • Class
  • Tree
  1: <?php
  2: /**
  3:  * Magento
  4:  *
  5:  * NOTICE OF LICENSE
  6:  *
  7:  * This source file is subject to the Open Software License (OSL 3.0)
  8:  * that is bundled with this package in the file LICENSE.txt.
  9:  * It is also available through the world-wide-web at this URL:
 10:  * http://opensource.org/licenses/osl-3.0.php
 11:  * If you did not receive a copy of the license and are unable to
 12:  * obtain it through the world-wide-web, please send an email
 13:  * to license@magentocommerce.com so we can send you a copy immediately.
 14:  *
 15:  * DISCLAIMER
 16:  *
 17:  * Do not edit or add to this file if you wish to upgrade Magento to newer
 18:  * versions in the future. If you wish to customize Magento for your
 19:  * needs please refer to http://www.magentocommerce.com for more information.
 20:  *
 21:  * @category    Mage
 22:  * @package     Mage_Catalog
 23:  * @copyright   Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
 24:  * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 25:  */
 26: 
 27: 
 28: /**
 29:  * Catalog navigation
 30:  *
 31:  * @category   Mage
 32:  * @package    Mage_Catalog
 33:  * @author      Magento Core Team <core@magentocommerce.com>
 34:  */
 35: class Mage_Catalog_Block_Navigation extends Mage_Core_Block_Template
 36: {
 37:     protected $_categoryInstance = null;
 38: 
 39:     /**
 40:      * Current category key
 41:      *
 42:      * @var string
 43:      */
 44:     protected $_currentCategoryKey;
 45: 
 46:     /**
 47:      * Array of level position counters
 48:      *
 49:      * @var array
 50:      */
 51:     protected $_itemLevelPositions = array();
 52: 
 53:     protected function _construct()
 54:     {
 55:         $this->addData(array(
 56:             'cache_lifetime'    => false,
 57:             'cache_tags'        => array(Mage_Catalog_Model_Category::CACHE_TAG, Mage_Core_Model_Store_Group::CACHE_TAG),
 58:         ));
 59:     }
 60: 
 61:     /**
 62:      * Get Key pieces for caching block content
 63:      *
 64:      * @return array
 65:      */
 66:     public function getCacheKeyInfo()
 67:     {
 68:         $shortCacheId = array(
 69:             'CATALOG_NAVIGATION',
 70:             Mage::app()->getStore()->getId(),
 71:             Mage::getDesign()->getPackageName(),
 72:             Mage::getDesign()->getTheme('template'),
 73:             Mage::getSingleton('customer/session')->getCustomerGroupId(),
 74:             'template' => $this->getTemplate(),
 75:             'name' => $this->getNameInLayout(),
 76:             $this->getCurrenCategoryKey()
 77:         );
 78:         $cacheId = $shortCacheId;
 79: 
 80:         $shortCacheId = array_values($shortCacheId);
 81:         $shortCacheId = implode('|', $shortCacheId);
 82:         $shortCacheId = md5($shortCacheId);
 83: 
 84:         $cacheId['category_path'] = $this->getCurrenCategoryKey();
 85:         $cacheId['short_cache_id'] = $shortCacheId;
 86: 
 87:         return $cacheId;
 88:     }
 89: 
 90:     /**
 91:      * Get current category key
 92:      *
 93:      * @return mixed
 94:      */
 95:     public function getCurrenCategoryKey()
 96:     {
 97:         if (!$this->_currentCategoryKey) {
 98:             $category = Mage::registry('current_category');
 99:             if ($category) {
100:                 $this->_currentCategoryKey = $category->getPath();
101:             } else {
102:                 $this->_currentCategoryKey = Mage::app()->getStore()->getRootCategoryId();
103:             }
104:         }
105: 
106:         return $this->_currentCategoryKey;
107:     }
108: 
109:     /**
110:      * Get catagories of current store
111:      *
112:      * @return Varien_Data_Tree_Node_Collection
113:      */
114:     public function getStoreCategories()
115:     {
116:         $helper = Mage::helper('catalog/category');
117:         return $helper->getStoreCategories();
118:     }
119: 
120:     /**
121:      * Retrieve child categories of current category
122:      *
123:      * @return Varien_Data_Tree_Node_Collection
124:      */
125:     public function getCurrentChildCategories()
126:     {
127:         $layer = Mage::getSingleton('catalog/layer');
128:         $category   = $layer->getCurrentCategory();
129:         /* @var $category Mage_Catalog_Model_Category */
130:         $categories = $category->getChildrenCategories();
131:         $productCollection = Mage::getResourceModel('catalog/product_collection');
132:         $layer->prepareProductCollection($productCollection);
133:         $productCollection->addCountToCategories($categories);
134:         return $categories;
135:     }
136: 
137:     /**
138:      * Checkin activity of category
139:      *
140:      * @param   Varien_Object $category
141:      * @return  bool
142:      */
143:     public function isCategoryActive($category)
144:     {
145:         if ($this->getCurrentCategory()) {
146:             return in_array($category->getId(), $this->getCurrentCategory()->getPathIds());
147:         }
148:         return false;
149:     }
150: 
151:     protected function _getCategoryInstance()
152:     {
153:         if (is_null($this->_categoryInstance)) {
154:             $this->_categoryInstance = Mage::getModel('catalog/category');
155:         }
156:         return $this->_categoryInstance;
157:     }
158: 
159:     /**
160:      * Get url for category data
161:      *
162:      * @param Mage_Catalog_Model_Category $category
163:      * @return string
164:      */
165:     public function getCategoryUrl($category)
166:     {
167:         if ($category instanceof Mage_Catalog_Model_Category) {
168:             $url = $category->getUrl();
169:         } else {
170:             $url = $this->_getCategoryInstance()
171:                 ->setData($category->getData())
172:                 ->getUrl();
173:         }
174: 
175:         return $url;
176:     }
177: 
178:     /**
179:      * Return item position representation in menu tree
180:      *
181:      * @param int $level
182:      * @return string
183:      */
184:     protected function _getItemPosition($level)
185:     {
186:         if ($level == 0) {
187:             $zeroLevelPosition = isset($this->_itemLevelPositions[$level]) ? $this->_itemLevelPositions[$level] + 1 : 1;
188:             $this->_itemLevelPositions = array();
189:             $this->_itemLevelPositions[$level] = $zeroLevelPosition;
190:         } elseif (isset($this->_itemLevelPositions[$level])) {
191:             $this->_itemLevelPositions[$level]++;
192:         } else {
193:             $this->_itemLevelPositions[$level] = 1;
194:         }
195: 
196:         $position = array();
197:         for($i = 0; $i <= $level; $i++) {
198:             if (isset($this->_itemLevelPositions[$i])) {
199:                 $position[] = $this->_itemLevelPositions[$i];
200:             }
201:         }
202:         return implode('-', $position);
203:     }
204: 
205:     /**
206:      * Render category to html
207:      *
208:      * @param Mage_Catalog_Model_Category $category
209:      * @param int Nesting level number
210:      * @param boolean Whether ot not this item is last, affects list item class
211:      * @param boolean Whether ot not this item is first, affects list item class
212:      * @param boolean Whether ot not this item is outermost, affects list item class
213:      * @param string Extra class of outermost list items
214:      * @param string If specified wraps children list in div with this class
215:      * @param boolean Whether ot not to add on* attributes to list item
216:      * @return string
217:      */
218:     protected function _renderCategoryMenuItemHtml($category, $level = 0, $isLast = false, $isFirst = false,
219:         $isOutermost = false, $outermostItemClass = '', $childrenWrapClass = '', $noEventAttributes = false)
220:     {
221:         if (!$category->getIsActive()) {
222:             return '';
223:         }
224:         $html = array();
225: 
226:         // get all children
227:         if (Mage::helper('catalog/category_flat')->isEnabled()) {
228:             $children = (array)$category->getChildrenNodes();
229:             $childrenCount = count($children);
230:         } else {
231:             $children = $category->getChildren();
232:             $childrenCount = $children->count();
233:         }
234:         $hasChildren = ($children && $childrenCount);
235: 
236:         // select active children
237:         $activeChildren = array();
238:         foreach ($children as $child) {
239:             if ($child->getIsActive()) {
240:                 $activeChildren[] = $child;
241:             }
242:         }
243:         $activeChildrenCount = count($activeChildren);
244:         $hasActiveChildren = ($activeChildrenCount > 0);
245: 
246:         // prepare list item html classes
247:         $classes = array();
248:         $classes[] = 'level' . $level;
249:         $classes[] = 'nav-' . $this->_getItemPosition($level);
250:         if ($this->isCategoryActive($category)) {
251:             $classes[] = 'active';
252:         }
253:         $linkClass = '';
254:         if ($isOutermost && $outermostItemClass) {
255:             $classes[] = $outermostItemClass;
256:             $linkClass = ' class="'.$outermostItemClass.'"';
257:         }
258:         if ($isFirst) {
259:             $classes[] = 'first';
260:         }
261:         if ($isLast) {
262:             $classes[] = 'last';
263:         }
264:         if ($hasActiveChildren) {
265:             $classes[] = 'parent';
266:         }
267: 
268:         // prepare list item attributes
269:         $attributes = array();
270:         if (count($classes) > 0) {
271:             $attributes['class'] = implode(' ', $classes);
272:         }
273:         if ($hasActiveChildren && !$noEventAttributes) {
274:              $attributes['onmouseover'] = 'toggleMenu(this,1)';
275:              $attributes['onmouseout'] = 'toggleMenu(this,0)';
276:         }
277: 
278:         // assemble list item with attributes
279:         $htmlLi = '<li';
280:         foreach ($attributes as $attrName => $attrValue) {
281:             $htmlLi .= ' ' . $attrName . '="' . str_replace('"', '\"', $attrValue) . '"';
282:         }
283:         $htmlLi .= '>';
284:         $html[] = $htmlLi;
285: 
286:         $html[] = '<a href="'.$this->getCategoryUrl($category).'"'.$linkClass.'>';
287:         $html[] = '<span>' . $this->escapeHtml($category->getName()) . '</span>';
288:         $html[] = '</a>';
289: 
290:         // render children
291:         $htmlChildren = '';
292:         $j = 0;
293:         foreach ($activeChildren as $child) {
294:             $htmlChildren .= $this->_renderCategoryMenuItemHtml(
295:                 $child,
296:                 ($level + 1),
297:                 ($j == $activeChildrenCount - 1),
298:                 ($j == 0),
299:                 false,
300:                 $outermostItemClass,
301:                 $childrenWrapClass,
302:                 $noEventAttributes
303:             );
304:             $j++;
305:         }
306:         if (!empty($htmlChildren)) {
307:             if ($childrenWrapClass) {
308:                 $html[] = '<div class="' . $childrenWrapClass . '">';
309:             }
310:             $html[] = '<ul class="level' . $level . '">';
311:             $html[] = $htmlChildren;
312:             $html[] = '</ul>';
313:             if ($childrenWrapClass) {
314:                 $html[] = '</div>';
315:             }
316:         }
317: 
318:         $html[] = '</li>';
319: 
320:         $html = implode("\n", $html);
321:         return $html;
322:     }
323: 
324:     /**
325:      * Render category to html
326:      *
327:      * @deprecated deprecated after 1.4
328:      * @param Mage_Catalog_Model_Category $category
329:      * @param int Nesting level number
330:      * @param boolean Whether ot not this item is last, affects list item class
331:      * @return string
332:      */
333:     public function drawItem($category, $level = 0, $last = false)
334:     {
335:         return $this->_renderCategoryMenuItemHtml($category, $level, $last);
336:     }
337: 
338:     /**
339:      * Enter description here...
340:      *
341:      * @return Mage_Catalog_Model_Category
342:      */
343:     public function getCurrentCategory()
344:     {
345:         if (Mage::getSingleton('catalog/layer')) {
346:             return Mage::getSingleton('catalog/layer')->getCurrentCategory();
347:         }
348:         return false;
349:     }
350: 
351:     /**
352:      * Enter description here...
353:      *
354:      * @return string
355:      */
356:     public function getCurrentCategoryPath()
357:     {
358:         if ($this->getCurrentCategory()) {
359:             return explode(',', $this->getCurrentCategory()->getPathInStore());
360:         }
361:         return array();
362:     }
363: 
364:     /**
365:      * Enter description here...
366:      *
367:      * @param Mage_Catalog_Model_Category $category
368:      * @return string
369:      */
370:     public function drawOpenCategoryItem($category) {
371:         $html = '';
372:         if (!$category->getIsActive()) {
373:             return $html;
374:         }
375: 
376:         $html.= '<li';
377: 
378:         if ($this->isCategoryActive($category)) {
379:             $html.= ' class="active"';
380:         }
381: 
382:         $html.= '>'."\n";
383:         $html.= '<a href="'.$this->getCategoryUrl($category).'"><span>'.$this->htmlEscape($category->getName()).'</span></a>'."\n";
384: 
385:         if (in_array($category->getId(), $this->getCurrentCategoryPath())){
386:             $children = $category->getChildren();
387:             $hasChildren = $children && $children->count();
388: 
389:             if ($hasChildren) {
390:                 $htmlChildren = '';
391:                 foreach ($children as $child) {
392:                     $htmlChildren.= $this->drawOpenCategoryItem($child);
393:                 }
394: 
395:                 if (!empty($htmlChildren)) {
396:                     $html.= '<ul>'."\n"
397:                             .$htmlChildren
398:                             .'</ul>';
399:                 }
400:             }
401:         }
402:         $html.= '</li>'."\n";
403:         return $html;
404:     }
405: 
406:     /**
407:      * Render categories menu in HTML
408:      *
409:      * @param int Level number for list item class to start from
410:      * @param string Extra class of outermost list items
411:      * @param string If specified wraps children list in div with this class
412:      * @return string
413:      */
414:     public function renderCategoriesMenuHtml($level = 0, $outermostItemClass = '', $childrenWrapClass = '')
415:     {
416:         $activeCategories = array();
417:         foreach ($this->getStoreCategories() as $child) {
418:             if ($child->getIsActive()) {
419:                 $activeCategories[] = $child;
420:             }
421:         }
422:         $activeCategoriesCount = count($activeCategories);
423:         $hasActiveCategoriesCount = ($activeCategoriesCount > 0);
424: 
425:         if (!$hasActiveCategoriesCount) {
426:             return '';
427:         }
428: 
429:         $html = '';
430:         $j = 0;
431:         foreach ($activeCategories as $category) {
432:             $html .= $this->_renderCategoryMenuItemHtml(
433:                 $category,
434:                 $level,
435:                 ($j == $activeCategoriesCount - 1),
436:                 ($j == 0),
437:                 true,
438:                 $outermostItemClass,
439:                 $childrenWrapClass,
440:                 true
441:             );
442:             $j++;
443:         }
444: 
445:         return $html;
446:     }
447: 
448: }
449: 
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0