OXID eShop CE  4.8.12
 All Classes Files Functions Variables Pages
Account_Wishlist Class Reference
+ Inheritance diagram for Account_Wishlist:
+ Collaboration diagram for Account_Wishlist:

Public Member Functions

 render ()
 showSuggest ()
 getWishList ()
 getWishProductList ()
 getSimilarRecommListIds ()
 sendWishList ()
 isWishListEmailSent ()
 setEnteredData ($oData)
 getEnteredData ()
 togglePublic ()
 searchForWishList ()
 getWishListUsers ()
 getWishListSearchParam ()
 getBreadCrumb ()
- Public Member Functions inherited from oxUBase
 init ()
 getViewId ()
 showSorting ()
 setComponents ($aComponents=null)
 getComponents ()
 getComponent ($sName)
 setIsOrderStep ($blIsOrderStep=null)
 getIsOrderStep ()
 setActiveCategory ($oCategory)
 getActiveCategory ()
 getListDisplayType ()
 getCustomListDisplayType ()
 setListType ($sType)
 loadCurrency ()
 dontShowEmptyCategories ()
 showCategoryArticlesCount ()
 isLanguageLoaded ()
 getTopNavigationCatCnt ()
 addRssFeed ($sTitle, $sUrl, $key=null)
 getSortOrderByParameterName ()
 getSortOrderParameterName ()
 getSortIdent ()
 getDefaultSorting ()
 getUserSelectedSorting ()
 getSavedSorting ($sSortIdent)
 setListOrderBy ($sColumn)
 setListOrderDirection ($sDirection)
 prepareSortColumns ()
 getListOrderBy ()
 getListOrderDirection ()
 setMetaDescription ($sDescription)
 setMetaKeywords ($sKeywords)
 getMetaKeywords ()
 getMetaDescription ()
 getActCurrency ()
 setActCurrency ($oCur)
 getCompareItemCount ()
 noIndex ()
 isSortingActive ()
 getMenueList ()
 setMenueList ($aMenue)
 setItemSorting ($sSortIdent, $sSortBy, $sSortDir=null)
 getSorting ($sSortIdent)
 getSortingSql ($sIdent)
 getTitleSuffix ()
 getTitlePageSuffix ()
 getTitlePrefix ()
 getDynUrlParams ()
 getLink ($iLang=null)
 getCanonicalUrl ()
 showSearch ()
 getRssLinks ()
 getSortColumns ()
 setSortColumns ($aSortColumns)
 getEditTags ()
 getRecommSearch ()
 getPaymentList ()
 getActiveRecommList ()
 getAccessoires ()
 getCrossSelling ()
 getSimilarProducts ()
 getAlsoBoughtTheseProducts ()
 getTitle ()
 getActiveLangAbbr ()
 addGlobalParams ($oShop=null)
 getAdditionalParams ()
 generatePageNavigationUrl ()
 getPageNavigation ()
 getPageNavigationLimitedTop ($iPositionCount=7)
 getPageNavigationLimitedBottom ($iPositionCount=11)
 generatePageNavigation ($iPositionCount=0)
 getViewProduct ()
 setViewProduct ($oProduct)
 getViewProductList ()
 getActPage ()
 getActTag ()
 getActVendor ()
 getActManufacturer ()
 setActVendor ($oVendor)
 setActManufacturer ($oManufacturer)
 getActSearch ()
 getCategoryTree ()
 setCategoryTree ($oCatTree)
 getManufacturerTree ()
 setManufacturerTree ($oManufacturerTree)
 getAddUrlParams ()
 getTop5ArticleList ($iCount=null)
 getBargainArticleList ()
 isLowOrderPrice ()
 getMinOrderPrice ()
 getNewsRealStatus ()
 getProduct ()
 getManufacturerlist ()
 setManufacturerlist ($aList)
 setRootVendor ($oVendor)
 getRootVendor ()
 setRootManufacturer ($oManufacturer)
 getRootManufacturer ()
 getVendorId ()
 getManufacturerId ()
 getSearchCatTree ()
 setSearchCatTree ($aTree)
 getCatMoreUrl ()
 getCatTreePath ()
 getContentByIdent ($sIdent)
 getContentCategory ()
 getMustFillFields ()
 isFieldRequired ($sField)
 getFormId ()
 canAcceptFormData ()
 getPromoFinishedList ()
 getPromoCurrentList ()
 getPromoFutureList ()
 getShowPromotionList ()
 isEnabledPrivateSales ()
 getFieldValidationErrors ()
 setRootCatChanged ($blRootCatChanged)
 isRootCatChanged ()
 getInvoiceAddress ()
 getDeliveryAddress ()
 setDeliveryAddress ($aDeliveryAddress)
 setInvoiceAddress ($aAddress)
 getActiveUsername ()
 getWishlistUserId ()
 getSearchCatId ()
 getSearchVendor ()
 getSearchManufacturer ()
 getLastProducts ()
 getNewBasketItemMsgType ()
 isActive ($sName)
 isFbWidgetVisible ()
 isEnabledDownloadableFiles ()
 showRememberMe ()
 isVatIncluded ()
 isPriceCalculated ()
 showTags ()
 getWishlistName ()
 getWidgetLink ()
- Public Member Functions inherited from oxView
 setViewParameters ($aParams=null)
 getViewParameter ($sKey)
 setIsCallForCache ($blIsCallForCache=null)
 getIsCallForCache ()
 addTplParam ($sPara, $sValue)
 getBelboonParam ()
 getViewConfig ()
 getTemplateName ()
 setTemplateName ($sTemplate)
 setClassName ($sClassName)
 getClassName ()
 setFncName ($sFncName)
 getFncName ()
 setViewData ($aViewData=null)
 getViewData ()
 getViewDataElement ($sParamId=null)
 setClassLocation ($sClassLocation=null)
 getClassLocation ()
 setThisAction ($sThisAction=null)
 getThisAction ()
 setParent ($oParent=null)
 getParent ()
 setIsComponent ($blIsComponent=null)
 getIsComponent ()
 executeFunction ($sFunction)
 getTrustedShopId ()
 getTSExcellenceId ()
 getCharSet ()
 getShopVersion ()
 getShopEdition ()
 getRevision ()
 getPackageInfo ()
 getShopFullEdition ()
 isDemoVersion ()
 isBetaVersion ()
 isRCVersion ()
 showBetaNote ()
 isDemoShop ()
 showNewsletter ()
 setShowNewsletter ($blShow)
 getShopLogo ()
 setShopLogo ($sLogo)
 getActCategory ()
 setActCategory ($oCategory)
 getCategoryId ()
 setCategoryId ($sCategoryId)
 getErrorDestination ()
 getActionClassName ()
 isConnectedWithFb ()
 getFbUserId ()
 showFbConnectToAccountMsg ()
 isMall ()
 showRdfa ()
 getSidForWidget ()
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 __construct ()
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Protected Attributes

 $_sThisTemplate = 'page/account/wishlist.tpl'
 $_blShowSuggest = null
 $_oWishList = null
 $_aRecommList = null
 $_oEditval = null
 $_iSendWishList = null
 $_sSearchParam = null
 $_oWishListUsers = false
 $_blEmailSent = false
 $_aEditValues = false
 $_aSimilarRecommListIds = null
 $_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW
- Protected Attributes inherited from oxUBase
 $_blFbWidgetsOn = null
 $_sRemoveMetaChars = '.\+*?[^]$(){}=!<>|:&'
 $_oaComponents = array()
 $_blIsOrderStep = false
 $_sListType = null
 $_aListDisplayTypes = array( 'grid', 'line', 'infogrid' )
 $_sListDisplayType = null
 $_sCustomListDisplayType = null
 $_oActCategory = null
 $_oActManufacturer = null
 $_oActVendor = null
 $_oActiveRecommList = null
 $_oActSearch = null
 $_blShowSorting = false
 $_blLoadCurrency = null
 $_blLoadManufacturerTree = null
 $_blDontShowEmptyCats = null
 $_blLoadLanguage = null
 $_iTopCatNavItmCnt = null
 $_aRssLinks = null
 $_sListOrderBy = null
 $_sListOrderDir = null
 $_sMetaDescription = null
 $_sMetaKeywords = null
 $_sMetaDescriptionIdent = null
 $_sMetaKeywordsIdent = null
 $_sAdditionalParams = null
 $_oActCurrency = null
 $_blEnabledPrivateSales = null
 $_blCommonAdded = false
 $_iViewIndexState = VIEW_INDEXSTATE_INDEX
 $_blForceNoIndex = false
 $_iCompItemsCnt = null
 $_sContentId = null
 $_oContent = null
 $_sViewResetID = null
 $_blActiveSorting = null
 $_aMenueList = null
 $_aComponentNames
 $_aUserComponentNames = array()
 $_oProduct = null
 $_iActPage = null
 $_aArticleList = null
 $_oManufacturerTree = null
 $_oCategoryTree = null
 $_aTop5ArticleList = null
 $_aBargainArticleList = null
 $_blLowOrderPrice = null
 $_sMinOrderPrice = null
 $_iNewsRealStatus = null
 $_aBlockRedirectParams = array( 'fnc', 'stoken', 'force_sid', 'force_admin_sid' )
 $_oRootVendor = null
 $_sVendorId = null
 $_aManufacturerlist = null
 $_oRootManufacturer = null
 $_sManufacturerId = null
 $_aSearchCatTree = null
 $_blNewsSubscribed = null
 $_oDelAddress = null
 $_sCatTreePath = null
 $_aContents = array()
 $_blTop5Action = false
 $_blBargainAction = false
 $_aMustFillFields = null
 $_blShowTagCloud = true
 $_blRootCatChanged = false
 $_aInvoiceAddress = null
 $_aDeliveryAddress = null
 $_sActiveUsername = null
 $_blLoadComponents = true
 $_aSortColumns = null
- Protected Attributes inherited from oxView
 $_aViewData = array()
 $_sClassLocation = null
 $_sThisAction = null
 $_oParent = null
 $_blIsComponent = false
 $_sThisTemplate = null
 $_sViewId = null
 $_sClass = null
 $_sFnc = null
 $_sTrustedShopId = null
 $_sTSExcellenceId = null
 $_sCharSet = null
 $_sVersion = null
 $_blDemoVersion = null
 $_blDemoShop = null
 $_iNewsStatus = null
 $_sShopLogo = null
 $_sCategoryId = null
 $_oClickCat = null
 $_blIsCallForCache = false
 $_oViewConf = null

Additional Inherited Members

- Static Protected Attributes inherited from oxUBase
static $_aCollectedComponentNames = null

Detailed Description

Current user wishlist manager. When user is logged in in this manager window he can modify his own wishlist status - remove articles from wishlist or store them to shopping basket, view detail information. Additionally user can view wishlist of some other user by entering users login name in special field. OXID eShop -> MY ACCOUNT -> Newsletter.

Definition at line 12 of file account_wishlist.php.

Member Function Documentation

Account_Wishlist::getBreadCrumb ( )

Returns Bread Crumb - you are here page1/page2/page3...

Returns
array

Reimplemented from Account.

Definition at line 323 of file account_wishlist.php.

Account_Wishlist::getEnteredData ( )

Terurns user entered values for sending email.

Returns
array

Definition at line 250 of file account_wishlist.php.

Account_Wishlist::getSimilarRecommListIds ( )

Return array of id to form recommend list.

Returns
array

Reimplemented from oxUBase.

Definition at line 173 of file account_wishlist.php.

Account_Wishlist::getWishList ( )

Show the Wishlist

Returns
oxuserbasket | bool

Definition at line 137 of file account_wishlist.php.

Account_Wishlist::getWishListSearchParam ( )

Returns wish list search parameter

Returns
string

Definition at line 313 of file account_wishlist.php.

Account_Wishlist::getWishListUsers ( )

Returns a list of users which were found according to search condition. If no users were found - false is returned

Returns
oxlist | bool

Definition at line 303 of file account_wishlist.php.

Account_Wishlist::getWishProductList ( )

Returns array of producst assigned to user wish list

Returns
array | bool

Definition at line 157 of file account_wishlist.php.

Account_Wishlist::isWishListEmailSent ( )

If email was sent.

Returns
bool

Definition at line 228 of file account_wishlist.php.

Account_Wishlist::render ( )

If user is logged in loads his wishlist articles (articles may be accessed by oxuser::GetBasket()), loads similar articles (is available) for the last article in list loaded by oxarticle::GetSimilarProducts() and returns name of template to render account_wishlist::_sThisTemplate

Returns
string $_sThisTemplate current template file name

Reimplemented from Account.

Definition at line 106 of file account_wishlist.php.

Account_Wishlist::searchForWishList ( )

Searches for wishlist of another user. Returns false if no searching conditions set (no login name defined).

Returns
bool

Definition at line 282 of file account_wishlist.php.

Account_Wishlist::sendWishList ( )

Sends wishlist mail to recipient. On errors returns false.

Returns
bool

Definition at line 192 of file account_wishlist.php.

Account_Wishlist::setEnteredData (   $oData)

Wishlist data setter

Parameters
object$oDatasuggest data object
Returns
null

Definition at line 240 of file account_wishlist.php.

Account_Wishlist::showSuggest ( )

check if the wishlist is allowed

Returns
bool

Definition at line 124 of file account_wishlist.php.

Account_Wishlist::togglePublic ( )

Changes wishlist status - public/non public. Returns false on error (if user is not logged in).

Returns
bool

Definition at line 261 of file account_wishlist.php.

Member Data Documentation

Account_Wishlist::$_aEditValues = false
protected

Definition at line 82 of file account_wishlist.php.

Account_Wishlist::$_aRecommList = null
protected

Definition at line 40 of file account_wishlist.php.

Account_Wishlist::$_aSimilarRecommListIds = null
protected

Definition at line 89 of file account_wishlist.php.

Account_Wishlist::$_blEmailSent = false
protected

Definition at line 75 of file account_wishlist.php.

Account_Wishlist::$_blShowSuggest = null
protected

Definition at line 26 of file account_wishlist.php.

Account_Wishlist::$_iSendWishList = null
protected

Definition at line 54 of file account_wishlist.php.

Account_Wishlist::$_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW
protected

Definition at line 96 of file account_wishlist.php.

Account_Wishlist::$_oEditval = null
protected

Definition at line 47 of file account_wishlist.php.

Account_Wishlist::$_oWishList = null
protected

Definition at line 33 of file account_wishlist.php.

Account_Wishlist::$_oWishListUsers = false
protected

Definition at line 68 of file account_wishlist.php.

Account_Wishlist::$_sSearchParam = null
protected

Definition at line 61 of file account_wishlist.php.

Account_Wishlist::$_sThisTemplate = 'page/account/wishlist.tpl'
protected

Definition at line 19 of file account_wishlist.php.


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