User Class Reference

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

List of all members.

Public Member Functions

 render ()
 getShowNoRegOption ()
 getLoginOption ()
 getCountryList ()
 getOrderRemark ()
 isNewsSubscribed ()
 setShowShipAddress ($blShowShipAddress)
 showShipAddress ()
 getDelAddress ()

Protected Member Functions

 _getWishListId ()
 _addFakeAddress ($oAddresses)
 _getSelectedAddress ()

Protected Attributes

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

Detailed Description

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

Definition at line 7 of file user.php.


Member Function Documentation

User._addFakeAddress ( oAddresses  )  [protected]

Generats fake address for selection

Parameters:
object $oAddresses user address list
Returns:
null

Reimplemented in Register.

Definition at line 117 of file user.php.

User._getSelectedAddress (  )  [protected]

Returns active user object

Returns:
object Returns selected delivery address
string

Definition at line 159 of file user.php.

User._getWishListId (  )  [protected]

Checks if product from wishlist is added

Returns:
$sWishId

Definition at line 96 of file user.php.

User.getCountryList (  ) 

Template variable getter. Returns country list

Returns:
object

Definition at line 207 of file user.php.

User.getDelAddress (  ) 

Template variable getter. Returns shipping address

Returns:
bool

Reimplemented in Register.

Definition at line 329 of file user.php.

User.getLoginOption (  ) 

Template variable getter. Returns user login option

Returns:
integer

Definition at line 188 of file user.php.

User.getOrderRemark (  ) 

Template variable getter. Returns order remark

Returns:
string

Definition at line 226 of file user.php.

User.getShowNoRegOption (  ) 

Template variable getter. Returns reverse option blOrderDisWithoutReg

Returns:
bool

Definition at line 175 of file user.php.

User.isNewsSubscribed (  ) 

Template variable getter. Returns if user subscribed for newsletter

Returns:
bool

Definition at line 244 of file user.php.

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

User.setShowShipAddress ( blShowShipAddress  ) 

Sets if show user shipping address

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

Definition at line 272 of file user.php.

User.showShipAddress (  ) 

Template variable getter. Checks to show or not shipping address entry form

Returns:
bool

Definition at line 283 of file user.php.


Member Data Documentation

User.$_blIsOrderStep = true [protected]

Reimplemented from oxUBase.

Reimplemented in Register.

Definition at line 19 of file user.php.

User.$_blShowNoRegOpt = null [protected]

Definition at line 25 of file user.php.

User.$_iOption = null [protected]

Definition at line 37 of file user.php.

User.$_oCountryList = null [protected]

Definition at line 43 of file user.php.

User.$_sOrderRemark = null [protected]

Definition at line 49 of file user.php.

User.$_sSelectedAddress = null [protected]

Definition at line 31 of file user.php.

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

Reimplemented from oxView.

Reimplemented in Register.

Definition at line 13 of file user.php.

User.$_sWishId = null [protected]

Definition at line 55 of file user.php.


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

Generated by  doxygen 1.6.2