Class Mage_XmlConnect_Block_Catalog_Product_Options

Description

Product Options xml renderer

  • author: Magento Core Team <core@magentocommerce.com>
  • copyright: Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)

Located in /XmlConnect/Block/Catalog/Product/Options.php (line 35)

Varien_Object
   |
   --Mage_Core_Block_Abstract
      |
      --Mage_Core_Block_Template
         |
         --Mage_XmlConnect_Block_Catalog
            |
            --Mage_XmlConnect_Block_Catalog_Product_Options
Direct descendents
Class Description
Mage_XmlConnect_Block_Catalog_Product_Options_Grouped Grouped product options xml renderer
Mage_XmlConnect_Block_Catalog_Product_Options_Configurable Configurable product options xml renderer
Mage_XmlConnect_Block_Catalog_Product_Options_Simple Simple product options xml renderer
Mage_XmlConnect_Block_Catalog_Product_Options_Bundle Bundle product options xml renderer
Mage_XmlConnect_Block_Catalog_Product_Options_Virtual Virtual product options xml renderer
Class Constant Summary
OPTION_TYPE_CHECKBOX = 'checkbox'
OPTION_TYPE_SELECT = 'select'
OPTION_TYPE_TEXT = 'text'
Variable Summary
array $_renderers
Method Summary
Mage_XmlConnect_Block_Product_Options addRenderer (string $type, string $renderer)
string _formatPriceString (string|int|float $price, Mage_Catalog_Model_Product $product)
string _getOptionTypeForXmlByRealType (string $realType)
string _toHtml ()
Variables
Methods
addRenderer (line 56)

Add new product options renderer

  • access: public
Mage_XmlConnect_Block_Product_Options addRenderer (string $type, string $renderer)
  • string $type
  • string $renderer
getProductCustomOptionsXmlObject (line 70)

Create produc custom options Mage_XmlConnect_Model_Simplexml_Element object

  • access: public
Mage_XmlConnect_Model_Simplexml_Element getProductCustomOptionsXmlObject ( $product)
getProductOptionsXmlObject (line 179)

Create product custom options Mage_XmlConnect_Model_Simplexml_Element object

  • return: | false
  • access: public
Mage_XmlConnect_Model_Simplexml_Element getProductOptionsXmlObject ( $product)
_formatPriceString (line 132)

Format price with currency code and taxes

  • access: protected
string _formatPriceString (string|int|float $price, Mage_Catalog_Model_Product $product)
_getOptionTypeForXmlByRealType (line 153)

Retrieve option type name by specified option real type name

  • access: protected
string _getOptionTypeForXmlByRealType (string $realType)
  • string $realType
_toHtml (line 198)

Generate product options xml

  • access: protected
string _toHtml ()

Redefinition of:
Mage_Core_Block_Template::_toHtml()
Render block HTML

Inherited Methods

Inherited From Mage_XmlConnect_Block_Catalog

Mage_XmlConnect_Block_Catalog::getProductSortFeildsXmlObject()

Inherited From Mage_Core_Block_Template

Mage_Core_Block_Template::assign()
Mage_Core_Block_Template::fetchView()
Mage_Core_Block_Template::getArea()
Mage_Core_Block_Template::getBaseUrl()
Mage_Core_Block_Template::getCacheKeyInfo()
Mage_Core_Block_Template::getDirectOutput()
Mage_Core_Block_Template::getJsUrl()
Mage_Core_Block_Template::getObjectData()
Mage_Core_Block_Template::getShowTemplateHints()
Mage_Core_Block_Template::getTemplate()
Mage_Core_Block_Template::getTemplateFile()
Mage_Core_Block_Template::renderView()
Mage_Core_Block_Template::setScriptPath()
Mage_Core_Block_Template::setTemplate()
Mage_Core_Block_Template::_construct()
Mage_Core_Block_Template::_toHtml()

Inherited From Mage_Core_Block_Abstract

Mage_Core_Block_Abstract::addToChildGroup()
Mage_Core_Block_Abstract::addToParentGroup()
Mage_Core_Block_Abstract::append()
Mage_Core_Block_Abstract::countChildren()
Mage_Core_Block_Abstract::escapeHtml()
Mage_Core_Block_Abstract::escapeUrl()
Mage_Core_Block_Abstract::formatDate()
Mage_Core_Block_Abstract::formatTime()
Mage_Core_Block_Abstract::getAction()
Mage_Core_Block_Abstract::getAnonSuffix()
Mage_Core_Block_Abstract::getBlockAlias()
Mage_Core_Block_Abstract::getBlockHtml()
Mage_Core_Block_Abstract::getCacheKey()
Mage_Core_Block_Abstract::getCacheKeyInfo()
Mage_Core_Block_Abstract::getCacheLifetime()
Mage_Core_Block_Abstract::getCacheTags()
Mage_Core_Block_Abstract::getChild()
Mage_Core_Block_Abstract::getChildChildHtml()
Mage_Core_Block_Abstract::getChildData()
Mage_Core_Block_Abstract::getChildGroup()
Mage_Core_Block_Abstract::getChildHtml()
Mage_Core_Block_Abstract::getHelper()
Mage_Core_Block_Abstract::getIsAnonymous()
Mage_Core_Block_Abstract::getLayout()
Mage_Core_Block_Abstract::getMessagesBlock()
Mage_Core_Block_Abstract::getModuleName()
Mage_Core_Block_Abstract::getNameInLayout()
Mage_Core_Block_Abstract::getParentBlock()
Mage_Core_Block_Abstract::getRequest()
Mage_Core_Block_Abstract::getSkinUrl()
Mage_Core_Block_Abstract::getSortedChildBlocks()
Mage_Core_Block_Abstract::getSortedChildren()
Mage_Core_Block_Abstract::getUrl()
Mage_Core_Block_Abstract::getUrlBase64()
Mage_Core_Block_Abstract::getUrlEncoded()
Mage_Core_Block_Abstract::helper()
Mage_Core_Block_Abstract::htmlEscape()
Mage_Core_Block_Abstract::insert()
Mage_Core_Block_Abstract::jsQuoteEscape()
Mage_Core_Block_Abstract::setAnonSuffix()
Mage_Core_Block_Abstract::setAttribute()
Mage_Core_Block_Abstract::setBlockAlias()
Mage_Core_Block_Abstract::setChild()
Mage_Core_Block_Abstract::setFrameTags()
Mage_Core_Block_Abstract::setIsAnonymous()
Mage_Core_Block_Abstract::setLayout()
Mage_Core_Block_Abstract::setMessagesBlock()
Mage_Core_Block_Abstract::setNameInLayout()
Mage_Core_Block_Abstract::setParentBlock()
Mage_Core_Block_Abstract::stripTags()
Mage_Core_Block_Abstract::toHtml()
Mage_Core_Block_Abstract::unsetCallChild()
Mage_Core_Block_Abstract::unsetChild()
Mage_Core_Block_Abstract::unsetChildren()
Mage_Core_Block_Abstract::urlEscape()
Mage_Core_Block_Abstract::_afterCacheUrl()
Mage_Core_Block_Abstract::_afterToHtml()
Mage_Core_Block_Abstract::_beforeCacheUrl()
Mage_Core_Block_Abstract::_beforeChildToHtml()
Mage_Core_Block_Abstract::_beforeToHtml()
Mage_Core_Block_Abstract::_construct()
Mage_Core_Block_Abstract::_getChildHtml()
Mage_Core_Block_Abstract::_getUrlModel()
Mage_Core_Block_Abstract::_getUrlModelClass()
Mage_Core_Block_Abstract::_loadCache()
Mage_Core_Block_Abstract::_prepareLayout()
Mage_Core_Block_Abstract::_saveCache()
Mage_Core_Block_Abstract::_toHtml()
Mage_Core_Block_Abstract::__()
Class Constants
OPTION_TYPE_CHECKBOX = 'checkbox' (line 39)
OPTION_TYPE_SELECT = 'select' (line 38)
OPTION_TYPE_TEXT = 'text' (line 40)

Inherited Constants

Inherited from Mage_XmlConnect_Block_Catalog

Mage_XmlConnect_Block_Catalog::PRODUCT_SORT_FIELDS_NUMBER
Mage_XmlConnect_Block_Catalog::REQUEST_FILTER_PARAM_REFIX
Mage_XmlConnect_Block_Catalog::REQUEST_SORT_ORDER_PARAM_REFIX

Inherited from Mage_Core_Block_Abstract

Mage_Core_Block_Abstract::CACHE_GROUP

Documentation generated on Fri, 11 Feb 2011 17:09:14 +0200 by phpDocumentor 1.4.3