User Class Reference

Inheritance diagram for User:

Inheritance graph
[legend]
Collaboration diagram for User:

Collaboration graph
[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 ()
 setShowShipAddress ($blShowShipAddress)
 showShipAddress ()
 setDelAddress ($oDelAddress)
 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

Reimplemented in Register.

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 277 of file user.php.

User.setShowShipAddress ( blShowShipAddress  ) 

Sets if show user shipping address

Parameters:
bool $blShowShipAddress if TRUE - shipping address is shown
Returns:
null

Reimplemented from oxUBase.

Definition at line 299 of file user.php.

User.showShipAddress (  ) 

Template variable getter. Returns if to show shipping address

Returns:
bool

Reimplemented from oxUBase.

Definition at line 310 of file user.php.

User.setDelAddress ( oDelAddress  ) 

Sets shipping address

Parameters:
bool $oDelAddress delivery address
Returns:
null

Reimplemented from oxUBase.

Definition at line 349 of file user.php.

User.getDelAddress (  ) 

Template variable getter. Returns shipping address

Returns:
bool

Reimplemented from oxUBase.

Reimplemented in Register.

Definition at line 359 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 oxUBase.

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 Wed Apr 22 12:35:06 2009 for OXID eShop CE by  doxygen 1.5.5