Account Class Reference

Inheritance diagram for Account:

Inheritance graph
[legend]
Collaboration diagram for Account:

Collaboration graph
[legend]

List of all members.


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 10 of file account.php.


Public Member Functions

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

Protected Attributes

 $_iOrderCnt = null
 $_sArticleId = null
 $_sSearchParamForHtml = null
 $_sSearchParam = null
 $_sSearchCatId = null
 $_sSearchVendor = null
 $_sSearchManufacturer = null
 $_sListType = null
 $_sThisTemplate = 'account_main.tpl'
 $_sThisLoginTemplate = 'account_login.tpl'
 $_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW
 $_blTop5Action = true
 $_blBargainAction = true

Member Function Documentation

Account.render (  ) 

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

Template variables: searchparam, searchparamforhtml, searchcnid, searchvendor, listtype, searchmanufacturer

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.

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 145 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 172 of file account.php.

Account.getOrderCnt (  ) 

changes default template for compare in popup

Returns:
null

Definition at line 195 of file account.php.

Account.getArticleId (  ) 

Return the active article id

Returns:
string | bool

Reimplemented from oxUBase.

Definition at line 211 of file account.php.

Account.getSearchParamForHtml (  ) 

Template variable getter. Returns search parameter for Html

Returns:
string

Definition at line 227 of file account.php.

Account.getSearchParam (  ) 

Template variable getter. Returns search parameter

Returns:
string

Definition at line 243 of file account.php.

Account.getSearchCatId (  ) 

Template variable getter. Returns searched category id

Returns:
string

Definition at line 259 of file account.php.

Account.getSearchVendor (  ) 

Template variable getter. Returns searched vendor id

Returns:
string

Definition at line 275 of file account.php.

Account.getSearchManufacturer (  ) 

Template variable getter. Returns searched Manufacturer id

Returns:
string

Definition at line 292 of file account.php.

Account.getListType (  ) 

Template variable getter. Returns list type

Returns:
string

Reimplemented from oxUBase.

Definition at line 309 of file account.php.


Member Data Documentation

Account.$_iOrderCnt = null [protected]

Definition at line 16 of file account.php.

Account.$_sArticleId = null [protected]

Definition at line 22 of file account.php.

Account.$_sSearchParamForHtml = null [protected]

Definition at line 28 of file account.php.

Account.$_sSearchParam = null [protected]

Reimplemented in Account_Wishlist.

Definition at line 34 of file account.php.

Account.$_sSearchCatId = null [protected]

Definition at line 40 of file account.php.

Account.$_sSearchVendor = null [protected]

Definition at line 46 of file account.php.

Account.$_sSearchManufacturer = null [protected]

Definition at line 52 of file account.php.

Account.$_sListType = null [protected]

Reimplemented from oxUBase.

Definition at line 58 of file account.php.

Account.$_sThisTemplate = 'account_main.tpl' [protected]

Reimplemented from oxView.

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

Definition at line 64 of file account.php.

Account.$_sThisLoginTemplate = 'account_login.tpl' [protected]

Definition at line 70 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_Noticelist, and Account_Wishlist.

Definition at line 77 of file account.php.

Account.$_blTop5Action = true [protected]

Reimplemented from oxUBase.

Definition at line 83 of file account.php.

Account.$_blBargainAction = true [protected]

Reimplemented from oxUBase.

Definition at line 89 of file account.php.


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

Generated on Mon Oct 26 20:07:21 2009 for OXID eShop CE by  doxygen 1.5.5