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 ()
 getListType ()
 getBreadCrumb ()
 getCompareItemsCnt ()

Protected Member Functions

 _getLoginTemplate ()

Protected Attributes

 $_iOrderCnt = null
 $_sArticleId = null
 $_sSearchParamForHtml = null
 $_sSearchParam = 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'
 $_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 126 of file account.php.

Account.confirmTerms (  ) 

Return the active article id

Returns:
string | bool

Definition at line 136 of file account.php.

Account.getArticleId (  ) 

Return the active article id

Returns:
string | bool

Reimplemented from oxUBase.

Definition at line 223 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 288 of file account.php.

Account.getCompareItemsCnt (  ) 

Template variable getter. Returns article list count in comparison

Returns:
integer

Definition at line 307 of file account.php.

Account.getListType (  ) 

Template variable getter. Returns list type

Returns:
string

Reimplemented from oxUBase.

Definition at line 271 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 157 of file account.php.

Account.getOrderCnt (  ) 

changes default template for compare in popup

Returns:
null

Definition at line 207 of file account.php.

Account.getSearchParam (  ) 

Template variable getter. Returns search parameter

Returns:
string

Definition at line 255 of file account.php.

Account.getSearchParamForHtml (  ) 

Template variable getter. Returns search parameter for Html

Returns:
string

Reimplemented from oxUBase.

Definition at line 239 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 184 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 102 of file account.php.


Member Data Documentation

Account.$_blBargainAction = true [protected]

Reimplemented from oxUBase.

Definition at line 87 of file account.php.

Account.$_blShowTagCloud = false [protected]

Reimplemented from oxUBase.

Definition at line 93 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 67 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 42 of file account.php.

Account.$_sMetaDescriptionIdent = 'oxstartmetadescription' [protected]

Reimplemented from oxUBase.

Definition at line 74 of file account.php.

Account.$_sMetaKeywordsIdent = 'oxstartmetakeywords' [protected]

Reimplemented from oxUBase.

Definition at line 81 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.$_sThisAltLoginTemplate = 'page/privatesales/login.tpl' [protected]

Definition at line 60 of file account.php.

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

Definition at line 54 of file account.php.

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

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