User Class Reference
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.
Member Function Documentation
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.
Template variable getter. Returns user login option
- Returns:
- integer
Definition at line 221 of file user.php.
Template variable getter. Returns country list
- Returns:
- object
Definition at line 240 of file user.php.
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:
-
- Returns:
- null
Reimplemented from oxUBase.
Definition at line 299 of file user.php.
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:
-
- Returns:
- null
Reimplemented from oxUBase.
Definition at line 349 of file user.php.
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] |
User.$_blIsOrderStep = true [protected] |
User.$_aMustFillFields = null [protected] |
User.$_blShowNoRegOpt = null [protected] |
User.$_oUser = null [protected] |
User.$_sSelectedAddress = null [protected] |
User.$_iOption = null [protected] |
User.$_oCountryList = null [protected] |
User.$_sOrderRemark = null [protected] |
User.$_sWishId = null [protected] |
The documentation for this class was generated from the following file: