User Class Reference

Inheritance diagram for User:
[legend]
Collaboration diagram for User:
[legend]

List of all members.


Detailed Description

User details. Collects and arranges user object data (information, like shipping address, etc.).

Definition at line 7 of file user.php.


Public Member Functions

 render ()
 getMustFillFields ()
 getShowNoRegOption ()
 getLoginOption ()
 getCountryList ()
 getOrderRemark ()
 isNewsSubscribed ()
 showShipAddress ()
 getDelAddress ()

Protected Member Functions

 _getWishListId ()
 _addFakeAddress ($oAddresses)
 _getActiveUser ()
 _getSelectedAddress ()

Protected Attributes

 $_sThisTemplate = 'user.tpl'
 $_blIsOrderStep = true
 $_aMustFillFields = null
 $_blShowNoRegOpt = null
 $_oUser = null
 $_sSelectedAddress = null
 $_iOption = null
 $_oCountryList = null
 $_sOrderRemark = null
 $_sWishId = null

Member Function Documentation

User.render (  ) 

Loads customer basket object form session (oxsession.getBasket()), passes action article/basket/country list to template engine. If available - loads user delivery address data (oxaddress). Returns name template file to render user._sThisTemplate.

Returns:
string $this->_sThisTemplate current template file name

Reimplemented from oxUBase.

Reimplemented in Register.

Definition at line 77 of file user.php.

User._getWishListId (  )  [protected]

Checks if product from wishlist is added

Returns:
$sWishId

Definition at line 113 of file user.php.

User._addFakeAddress ( oAddresses  )  [protected]

Generats facke address for selection

Parameters:
object &$oAddresses user address list
Returns:
null

Definition at line 137 of file user.php.

User._getActiveUser (  )  [protected]

Returns active user object

Returns:
object

Definition at line 158 of file user.php.

User._getSelectedAddress (  )  [protected]

Returns selected delivery address

Returns:
string

Definition at line 174 of file user.php.

User.getMustFillFields (  ) 

Template variable getter. Returns array of must-be-filled-fields

Returns:
array

Reimplemented in Register.

Definition at line 190 of file user.php.

User.getShowNoRegOption (  ) 

Template variable getter. Returns reverse option blOrderDisWithoutReg

Returns:
bool

Definition at line 208 of file user.php.

User.getLoginOption (  ) 

Template variable getter. Returns user login option

Returns:
integer

Definition at line 221 of file user.php.

User.getCountryList (  ) 

Template variable getter. Returns country list

Returns:
object

Definition at line 240 of file user.php.

User.getOrderRemark (  ) 

Template variable getter. Returns order remark

Returns:
string

Definition at line 259 of file user.php.

User.isNewsSubscribed (  ) 

Template variable getter. Returns if user subscribed for newsletter

Returns:
bool

Reimplemented from oxUBase.

Definition at line 275 of file user.php.

User.showShipAddress (  ) 

Template variable getter. Returns if to show shipping address

Returns:
bool

Reimplemented from oxUBase.

Definition at line 295 of file user.php.

User.getDelAddress (  ) 

Template variable getter. Returns shipping address

Returns:
bool

Reimplemented from oxUBase.

Definition at line 330 of file user.php.


Member Data Documentation

User.$_sThisTemplate = 'user.tpl' [protected]

Reimplemented from oxView.

Reimplemented in Register.

Definition at line 13 of file user.php.

User.$_blIsOrderStep = true [protected]

Reimplemented from oxView.

Definition at line 19 of file user.php.

User.$_aMustFillFields = null [protected]

Reimplemented in Register.

Definition at line 25 of file user.php.

User.$_blShowNoRegOpt = null [protected]

Definition at line 31 of file user.php.

User.$_oUser = null [protected]

Definition at line 37 of file user.php.

User.$_sSelectedAddress = null [protected]

Definition at line 43 of file user.php.

User.$_iOption = null [protected]

Definition at line 49 of file user.php.

User.$_oCountryList = null [protected]

Definition at line 55 of file user.php.

User.$_sOrderRemark = null [protected]

Definition at line 61 of file user.php.

User.$_sWishId = null [protected]

Definition at line 67 of file user.php.


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

Generated on Thu Dec 4 12:05:43 2008 for OXID eShop CE by  doxygen 1.5.5