Class Mage_Wishlist_Helper_Data

Description

Wishlist Data Helper

Located in /Wishlist/Helper/Data.php (line 35)

Mage_Core_Helper_Abstract
   |
   --Mage_Wishlist_Helper_Data
Class Constant Summary
XML_PATH_CATALOGINVENTORY_SHOW_OUT_OF_STOCK = 'cataloginventory/options/show_out_of_stock'
XML_PATH_WISHLIST_LINK_USE_QTY = 'wishlist/wishlist_link/use_qty'
Variable Summary
Method Summary
Variables
Mage_Wishlist_Model_Mysql4_Product_Collection $_productCollection = null (line 59)

Wishlist Product Items Collection

  • access: protected
Mage_Wishlist_Model_Wishlist $_wishlist = null (line 52)

Customer Wishlist instance

  • access: protected
Mage_Wishlist_Model_Mysql4_Item_Collection $_wishlistItemCollection = null (line 66)

Wishlist Items Collection

  • access: protected

Inherited Variables

Inherited from Mage_Core_Helper_Abstract

Mage_Core_Helper_Abstract::$_layout
Mage_Core_Helper_Abstract::$_moduleName
Mage_Core_Helper_Abstract::$_request
Methods
calculate (line 426)

Calculate count of wishlist items and put value to customer session.

Method called after wishlist modifications and trigger 'wishlist_items_renewed' event. Depends from configuration.

  • access: public
defaultCommentString (line 414)

Retrieve default empty comment message

  • access: public
string defaultCommentString ()
getAddToCartUrl (line 313)

Retrieve URL for adding item to shoping cart

  • access: public
string getAddToCartUrl (string|Mage_Catalog_Model_Product|Mage_Wishlist_Model_Item $item)
getAddToCartUrlBase64 (line 336)

Retrieve url for adding item to shoping cart with b64 referer

  • deprecated:
  • access: public
string getAddToCartUrlBase64 (Mage_Catalog_Model_Product|Mage_Wishlist_Model_Item $item)
getAddUrl (line 253)

Retrieve url for adding product to wishlist

  • access: public
string|boolean getAddUrl ( $item, Mage_Catalog_Model_Product|Mage_Wishlist_Model_Item $product)
getAddUrlWithParams (line 289)

Retrieve url for adding product to wishlist with params

  • access: public
string|boolean getAddUrlWithParams ( $item, [ $params = array()], Mage_Catalog_Model_Product|Mage_Wishlist_Model_Item $product, array $param)
getConfigureUrl (line 240)

Retrieve URL for removing item from wishlist

  • access: public
string getConfigureUrl (Mage_Catalog_Model_Product|Mage_Wishlist_Model_Item $item)
getCustomerName (line 379)

Retrieve customer name

  • access: public
string getCustomerName ()
getItemCollection (line 154)

Retrieve wishlist product items collection

alias for getProductCollection

getItemCount (line 127)

Retrieve wishlist item count (inchlude config settings)

  • access: public
int getItemCount ()
getListUrl (line 346)

Retrieve customer wishlist url

  • access: public
string getListUrl ()
getProductCollection (line 183)

Retrieve wishlist product items collection

getRemoveUrl (line 227)

Retrieve URL for removing item from wishlist

  • access: public
getRssUrl (line 389)

Retrieve RSS URL

  • access: public
string getRssUrl ()
getUpdateUrl (line 264)

Retrieve url for updating product in wishlist

  • access: public
string|boolean getUpdateUrl ( $item, Mage_Catalog_Model_Product|Mage_Wishlist_Model_Item $product)
getWishlist (line 103)

Retrieve wishlist by logged in customer

  • access: public
getWishlistItemCollection (line 165)

Retrieve wishlist items collection

  • access: public
Mage_Wishlist_Model_Mysql4_Item_Collection getWishlistItemCollection ()
hasItems (line 117)

Retrieve wishlist items availability

  • access: public
bool hasItems ()
isAllow (line 356)

Check is allow wishlist module

  • access: public
bool isAllow ()
isAllowInCart (line 369)

Check is allow wishlist action in shopping cart

  • access: public
bool isAllowInCart ()
isRssAllow (line 401)

Is allow RSS

  • access: public
bool isRssAllow ()
_getCurrentCustomer (line 93)

Retrieve logged in customer

  • access: protected
Mage_Customer_Model_Customer _getCurrentCustomer ()
_getCustomerSession (line 73)

Retreive customer session

  • access: protected
Mage_Customer_Model_Session _getCustomerSession ()
_getUrlStore (line 201)

Retrieve Item Store for URL

  • access: protected
_isCustomerLogIn (line 83)

Retrieve customer login status

  • access: protected
bool _isCustomerLogIn ()

Inherited Methods

Inherited From Mage_Core_Helper_Abstract

Mage_Core_Helper_Abstract::escapeHtml()
Mage_Core_Helper_Abstract::escapeUrl()
Mage_Core_Helper_Abstract::getLayout()
Mage_Core_Helper_Abstract::htmlEscape()
Mage_Core_Helper_Abstract::isModuleEnabled()
Mage_Core_Helper_Abstract::isModuleOutputEnabled()
Mage_Core_Helper_Abstract::jsQuoteEscape()
Mage_Core_Helper_Abstract::setLayout()
Mage_Core_Helper_Abstract::stripTags()
Mage_Core_Helper_Abstract::translateArray()
Mage_Core_Helper_Abstract::urlDecode()
Mage_Core_Helper_Abstract::urlEncode()
Mage_Core_Helper_Abstract::urlEscape()
Mage_Core_Helper_Abstract::_cleanCache()
Mage_Core_Helper_Abstract::_getModuleName()
Mage_Core_Helper_Abstract::_getRequest()
Mage_Core_Helper_Abstract::_getUrl()
Mage_Core_Helper_Abstract::_loadCache()
Mage_Core_Helper_Abstract::_removeCache()
Mage_Core_Helper_Abstract::_saveCache()
Mage_Core_Helper_Abstract::__()
Class Constants
XML_PATH_CATALOGINVENTORY_SHOW_OUT_OF_STOCK = 'cataloginventory/options/show_out_of_stock' (line 45)

Config key 'Display Out of Stock Products'

XML_PATH_WISHLIST_LINK_USE_QTY = 'wishlist/wishlist_link/use_qty' (line 40)

Config key 'Display Wishlist Summary'

Documentation generated on Fri, 11 Feb 2011 17:00:39 +0200 by phpDocumentor 1.4.3