Class Mage_Wishlist_Block_Abstract

Description

Wishlist Product Items abstract Block

Located in /Wishlist/Block/Abstract.php (line 35)

Varien_Object
   |
   --Mage_Core_Block_Abstract
      |
      --Mage_Core_Block_Template
         |
         --Mage_Catalog_Block_Product_Abstract
            |
            --Mage_Wishlist_Block_Abstract
Direct descendents
Class Description
Mage_Wishlist_Block_Customer_Sidebar Wishlist sidebar block
Mage_Wishlist_Block_Customer_Wishlist Wishlist block customer items
Mage_Wishlist_Block_Customer_Wishlist_Item_Options Wishlist block customer items
Mage_Wishlist_Block_Share_Wishlist Wishlist block shared items
Mage_Wishlist_Block_Share_Email_Items Wishlist block customer items
Mage_Rss_Block_Wishlist Customer Shared Wishlist Rss Block
Variable Summary
Method Summary
Variables
array $_cachedItemPriceBlocks = array() (line 63)

List of block instances to render prices for different product types

  • access: protected

Wishlist Product Items Collection

  • access: protected
array $_itemPriceBlockTypes = array() (line 56)

List of block settings to render prices for different product types

  • access: protected
Mage_Wishlist_Model_Wishlist $_wishlist (line 49)

Wishlist Model

  • access: protected

Inherited Variables

Inherited from Mage_Catalog_Block_Product_Abstract

Mage_Catalog_Block_Product_Abstract::$_block
Mage_Catalog_Block_Product_Abstract::$_columnCountLayoutDepend
Mage_Catalog_Block_Product_Abstract::$_defaultColumnCount
Mage_Catalog_Block_Product_Abstract::$_priceBlock
Mage_Catalog_Block_Product_Abstract::$_priceBlockDefaultTemplate
Mage_Catalog_Block_Product_Abstract::$_priceBlockTypes
Mage_Catalog_Block_Product_Abstract::$_reviewsHelperBlock
Mage_Catalog_Block_Product_Abstract::$_tierPriceDefaultTemplate
Mage_Catalog_Block_Product_Abstract::$_useLinkForAsLowAs

Inherited from Mage_Core_Block_Template

Mage_Core_Block_Template::$_baseUrl
Mage_Core_Block_Template::$_jsUrl
Mage_Core_Block_Template::$_showTemplateHints
Mage_Core_Block_Template::$_showTemplateHintsBlocks
Mage_Core_Block_Template::$_template
Mage_Core_Block_Template::$_viewDir
Mage_Core_Block_Template::$_viewVars

Inherited from Mage_Core_Block_Abstract

Mage_Core_Block_Abstract::$_alias
Mage_Core_Block_Abstract::$_anonSuffix
Mage_Core_Block_Abstract::$_childGroups
Mage_Core_Block_Abstract::$_children
Mage_Core_Block_Abstract::$_childrenHtmlCache
Mage_Core_Block_Abstract::$_frameCloseTag
Mage_Core_Block_Abstract::$_frameOpenTag
Mage_Core_Block_Abstract::$_isAnonymous
Mage_Core_Block_Abstract::$_layout
Mage_Core_Block_Abstract::$_messagesBlock
Mage_Core_Block_Abstract::$_nameInLayout
Mage_Core_Block_Abstract::$_parent
Mage_Core_Block_Abstract::$_parentBlock
Mage_Core_Block_Abstract::$_request
Mage_Core_Block_Abstract::$_sortedChildren
Mage_Core_Block_Abstract::$_urlModel
Methods
addItemPriceBlockType (line 306)

Adds special block to render price for item with specific product type

  • access: public
void addItemPriceBlockType (string $type, [string $block = ''], [string $template = ''])
  • string $type
  • string $block
  • string $template
getAddToWishlistUrl (line 187)

Retrieve URL for adding Product to wishlist

  • access: public
string getAddToWishlistUrl (Mage_Catalog_Model_Product $product)

Redefinition of:
Mage_Catalog_Block_Product_Abstract::getAddToWishlistUrl()
Enter description here...
getEscapedDescription (line 218)

Retrieve Escaped Description for Wishlist Item

  • access: public
string getEscapedDescription (Mage_Catalog_Model_Product $item)
getFormatedDate (line 243)

Retrieve formated Date

  • access: public
string getFormatedDate (string $date)
  • string $date
getItemAddToCartUrl (line 176)

Retrieve Add Item to shopping cart URL

  • access: public
string getItemAddToCartUrl (string|Mage_Catalog_Model_Product|Mage_Wishlist_Model_Item $item)
getItemConfigureUrl (line 199)

Returns item configure url in wishlist

  • access: public
string getItemConfigureUrl (Mage_Catalog_Model_Product|Mage_Wishlist_Model_Item $product)
getItemRemoveUrl (line 165)

Retrieve URL for Removing item from wishlist

  • access: public
string getItemRemoveUrl ( $product, Mage_Catalog_Model_Product|Mage_Wishlist_Model_Item $item)
getPriceHtml (line 347)

Returns product price block html Overwrites parent price html return to be ready to show configured, partially configured and non-configured products

  • access: public
void getPriceHtml (Mage_Catalog_Model_Product $product, [boolean $displayMinimalPrice = false], [string $idSuffix = ''])

Redefinition of:
Mage_Catalog_Block_Product_Abstract::getPriceHtml()
Returns product price block html
getProductUrl (line 365)

Retrieve URL to item Product

  • access: public
string getProductUrl (Mage_Wishlist_Model_Item $item, [array $additional = array()])

Redefinition of:
Mage_Catalog_Block_Product_Abstract::getProductUrl()
Retrieve Product URL using UrlDataObject

Redefined in descendants as:
getQty (line 280)

Retrieve Qty from item

  • access: public
getWishlist (line 154)

Back compatibility retrieve wishlist product items

  • deprecated: after 1.4.2.0
  • access: public
getWishlistItems (line 135)

Retrieve Wishlist Product Items collection

  • access: public
getWishlistItemsCount (line 269)

Retrieve wishlist loaded items count

  • access: public
int getWishlistItemsCount ()
hasDescription (line 232)

Check Wishlist item has description

  • access: public
bool hasDescription (Mage_Catalog_Model_Product $item)
hasWishlistItems (line 294)

Check is the wishlist has items

  • access: public
bool hasWishlistItems ()
isSaleable (line 253)

Check is the wishlist has a salable product(s)

  • access: public
bool isSaleable ()
_construct (line 69)

Internal constructor, that is called from real constructor

  • access: protected
void _construct ()

Redefinition of:
Mage_Core_Block_Template::_construct()
Internal constructor, that is called from real constructor

Redefined in descendants as:
_getCustomerSession (line 90)

Retrieve Customer Session instance

  • access: protected
Mage_Customer_Model_Session _getCustomerSession ()
_getHelper (line 80)

Retrieve Wishlist Data Helper

  • access: protected
_getItemPriceBlock (line 322)

Returns block to render item with some product type

  • access: protected
Mage_Core_Block_Template _getItemPriceBlock (string $productType)
  • string $productType
_getWishlist (line 100)

Retrieve Wishlist model

  • access: protected

Redefined in descendants as:
_prepareCollection (line 125)

Prepare additional conditions to collection

  • access: protected

Redefined in descendants as:

Inherited Methods

Inherited From Mage_Catalog_Block_Product_Abstract

Mage_Catalog_Block_Product_Abstract::addColumnCountLayoutDepend()
Mage_Catalog_Block_Product_Abstract::addPriceBlockType()
Mage_Catalog_Block_Product_Abstract::addReviewSummaryTemplate()
Mage_Catalog_Block_Product_Abstract::getAddToCartUrl()
Mage_Catalog_Block_Product_Abstract::getAddToCompareUrl()
Mage_Catalog_Block_Product_Abstract::getAddToWishlistUrl()
Mage_Catalog_Block_Product_Abstract::getCanShowProductPrice()
Mage_Catalog_Block_Product_Abstract::getColumnCount()
Mage_Catalog_Block_Product_Abstract::getColumnCountLayoutDepend()
Mage_Catalog_Block_Product_Abstract::getImageLabel()
Mage_Catalog_Block_Product_Abstract::getMinimalQty()
Mage_Catalog_Block_Product_Abstract::getPageLayout()
Mage_Catalog_Block_Product_Abstract::getPriceHtml()
Mage_Catalog_Block_Product_Abstract::getProduct()
Mage_Catalog_Block_Product_Abstract::getProductUrl()
Mage_Catalog_Block_Product_Abstract::getReviewsSummaryHtml()
Mage_Catalog_Block_Product_Abstract::getSubmitUrl()
Mage_Catalog_Block_Product_Abstract::getTierPriceHtml()
Mage_Catalog_Block_Product_Abstract::getTierPrices()
Mage_Catalog_Block_Product_Abstract::getTierPriceTemplate()
Mage_Catalog_Block_Product_Abstract::hasProductUrl()
Mage_Catalog_Block_Product_Abstract::removeColumnCountLayoutDepend()
Mage_Catalog_Block_Product_Abstract::_addProductAttributesAndPrices()
Mage_Catalog_Block_Product_Abstract::_getPriceBlock()
Mage_Catalog_Block_Product_Abstract::_getPriceBlockTemplate()
Mage_Catalog_Block_Product_Abstract::_initReviewsHelperBlock()
Mage_Catalog_Block_Product_Abstract::_prepareLayout()
Mage_Catalog_Block_Product_Abstract::_preparePriceRenderer()

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

Documentation generated on Fri, 11 Feb 2011 16:54:46 +0200 by phpDocumentor 1.4.3