Public Member Functions | Protected Member Functions | Protected Attributes

User Class Reference

Inheritance diagram for User:
Collaboration diagram for User:

List of all members.

Public Member Functions

 render ()
 getShowNoRegOption ()
 getLoginOption ()
 getCountryList ()
 getOrderRemark ()
 isNewsSubscribed ()
 showShipAddress ()
 modifyBillAddress ()
 getBreadCrumb ()

Protected Member Functions

 _fillFormWithFacebookData ()

Protected Attributes

 $_sThisTemplate = 'page/checkout/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._fillFormWithFacebookData (  )  [protected]

Fills user form with date taken from Facebook

Returns:
null

Definition at line 205 of file user.php.

User.getBreadCrumb (  ) 

Returns Bread Crumb - you are here page1/page2/page3...

Returns:
array

Reimplemented from oxUBase.

Reimplemented in Register.

Definition at line 246 of file user.php.

User.getCountryList (  ) 

Template variable getter. Returns country list

Deprecated:
will be removed in future: use oxViewConfig.getCountryList()
Returns:
object

Definition at line 130 of file user.php.

User.getLoginOption (  ) 

Template variable getter. Returns user login option

Returns:
integer

Definition at line 109 of file user.php.

User.getOrderRemark (  ) 

Template variable getter. Returns order remark

Returns:
string

Definition at line 149 of file user.php.

User.getShowNoRegOption (  ) 

Template variable getter. Returns reverse option blOrderDisWithoutReg

Returns:
bool

Definition at line 96 of file user.php.

User.isNewsSubscribed (  ) 

Template variable getter. Returns if user subscribed for newsletter

Returns:
bool

Definition at line 171 of file user.php.

User.modifyBillAddress (  ) 

Return true if user wants to change his billing address

Returns:
bool

Definition at line 236 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). If user is connected using Facebook connect calls user._fillFormWithFacebookData to prefill form data with data taken from user Facebook account. 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 67 of file user.php.

User.showShipAddress (  ) 

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

Returns:
bool

Definition at line 195 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 = 'page/checkout/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: