Public Member Functions | Protected Member Functions | Protected Attributes

Account Class Reference

Inheritance diagram for Account:
Collaboration diagram for Account:

List of all members.

Public Member Functions

 render ()
 confirmTerms ()
 getNavigationParams ()
 redirectAfterLogin ()
 getOrderCnt ()
 getArticleId ()
 getSearchParamForHtml ()
 getSearchParam ()
 getSearchCatId ()
 getSearchVendor ()
 getSearchManufacturer ()
 getListType ()
 getBreadCrumb ()

Protected Member Functions

 _getLoginTemplate ()

Protected Attributes

 $_iOrderCnt = null
 $_sArticleId = null
 $_sSearchParamForHtml = null
 $_sSearchParam = null
 $_sSearchCatId = null
 $_sSearchVendor = null
 $_sSearchManufacturer = null
 $_sListType = null
 $_sThisTemplate = 'page/account/dashboard.tpl'
 $_sThisLoginTemplate = 'page/account/login.tpl'
 $_sThisAltLoginTemplate = 'page/privatesales/login.tpl'
 $_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW
 $_sMetaDescriptionIdent = 'oxstartmetadescription'
 $_sMetaKeywordsIdent = 'oxstartmetakeywords'
 $_blTop5Action = false
 $_blBargainAction = true
 $_blShowTagCloud = false

Detailed Description

Current user "My account" window. When user is logged in arranges "My account" window, by creating links to user details, order review, notice list, wish list. There is a link for logging out. Template includes Topoffer , bargain boxes. OXID eShop -> MY ACCOUNT.

Definition at line 12 of file account.php.


Member Function Documentation

Account._getLoginTemplate (  )  [protected]

Returns login template name:

  • if "login" feature is on returns $this->_sThisAltLoginTemplate
  • else returns $this->_sThisLoginTemplate
Returns:
string

Definition at line 149 of file account.php.

Account.confirmTerms (  ) 

Return the active article id

Returns:
string | bool

Definition at line 159 of file account.php.

Account.getArticleId (  ) 

Return the active article id

Returns:
string | bool

Reimplemented from oxUBase.

Definition at line 246 of file account.php.

Account.getBreadCrumb (  ) 

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

Returns:
array

Reimplemented from oxUBase.

Reimplemented in Account_Downloads, Account_Newsletter, Account_Noticelist, Account_Order, Account_Password, Account_Recommlist, Account_User, and Account_Wishlist.

Definition at line 361 of file account.php.

Account.getListType (  ) 

Template variable getter. Returns list type

Returns:
string

Reimplemented from oxUBase.

Definition at line 344 of file account.php.

Account.getNavigationParams (  ) 

Returns array from parent.getNavigationParams(). If current request contains "sourcecl" and "anid" parameters - appends array with this data. Array is used to fill forms and append shop urls with actual state parameters

Returns:
array

Reimplemented from oxUBase.

Reimplemented in Account_Recommlist.

Definition at line 180 of file account.php.

Account.getOrderCnt (  ) 

changes default template for compare in popup

Returns:
null

Definition at line 230 of file account.php.

Account.getSearchCatId (  ) 

Template variable getter. Returns searched category id

Returns:
string

Reimplemented from oxUBase.

Definition at line 294 of file account.php.

Account.getSearchManufacturer (  ) 

Template variable getter. Returns searched Manufacturer id

Returns:
string

Reimplemented from oxUBase.

Definition at line 327 of file account.php.

Account.getSearchParam (  ) 

Template variable getter. Returns search parameter

Returns:
string

Definition at line 278 of file account.php.

Account.getSearchParamForHtml (  ) 

Template variable getter. Returns search parameter for Html

Returns:
string

Reimplemented from oxUBase.

Definition at line 262 of file account.php.

Account.getSearchVendor (  ) 

Template variable getter. Returns searched vendor id

Returns:
string

Reimplemented from oxUBase.

Definition at line 310 of file account.php.

Account.redirectAfterLogin (  ) 

For some user actions (like writing guestbook entry or product review) user must be logged in. So e.g. in product details page there is a link leading to current view. Link contains parameter "sourcecl", which tells where to redirect after successfull login. If this parameter is defined and oxcmp_user.getLoginStatus() == USER_LOGIN_SUCCESS (means user has just logged in) then user is redirected back to source view.

Returns:
null

Definition at line 207 of file account.php.

Account.render (  ) 

Loads action articles. If user is logged and returns name of template to render account._sThisTemplate

Returns:
string $_sThisTemplate current template file name

Reimplemented from oxUBase.

Reimplemented in Account_Newsletter, Account_Noticelist, Account_Order, Account_Password, Account_Recommlist, Account_User, and Account_Wishlist.

Definition at line 125 of file account.php.


Member Data Documentation

Account.$_blBargainAction = true [protected]

Reimplemented from oxUBase.

Definition at line 111 of file account.php.

Account.$_blShowTagCloud = false [protected]

Reimplemented from oxUBase.

Definition at line 117 of file account.php.

Account.$_blTop5Action = false [protected]

Reimplemented from oxUBase.

Definition at line 105 of file account.php.

Account.$_iOrderCnt = null [protected]

Definition at line 18 of file account.php.

Account.$_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW [protected]

Current view search engine indexing state: VIEW_INDEXSTATE_INDEX - index without limitations VIEW_INDEXSTATE_NOINDEXNOFOLLOW - no index / no follow VIEW_INDEXSTATE_NOINDEXFOLLOW - no index / follow

Reimplemented from oxUBase.

Reimplemented in Account_Downloads, Account_Noticelist, and Account_Wishlist.

Definition at line 85 of file account.php.

Account.$_sArticleId = null [protected]

Definition at line 24 of file account.php.

Account.$_sListType = null [protected]

Reimplemented from oxUBase.

Definition at line 60 of file account.php.

Account.$_sMetaDescriptionIdent = 'oxstartmetadescription' [protected]

Reimplemented from oxUBase.

Definition at line 92 of file account.php.

Account.$_sMetaKeywordsIdent = 'oxstartmetakeywords' [protected]

Reimplemented from oxUBase.

Definition at line 99 of file account.php.

Account.$_sSearchCatId = null [protected]

Definition at line 42 of file account.php.

Account.$_sSearchManufacturer = null [protected]

Definition at line 54 of file account.php.

Account.$_sSearchParam = null [protected]

Reimplemented in Account_Wishlist.

Definition at line 36 of file account.php.

Account.$_sSearchParamForHtml = null [protected]

Definition at line 30 of file account.php.

Account.$_sSearchVendor = null [protected]

Definition at line 48 of file account.php.

Account.$_sThisAltLoginTemplate = 'page/privatesales/login.tpl' [protected]

Definition at line 78 of file account.php.

Account.$_sThisLoginTemplate = 'page/account/login.tpl' [protected]

Definition at line 72 of file account.php.

Account.$_sThisTemplate = 'page/account/dashboard.tpl' [protected]

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