OXID eShop CE
4.9.6
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Pages
account_user.php
Go to the documentation of this file.
1
<?php
2
11
class
Account_User
extends
Account
12
{
13
19
protected
$_sThisTemplate
=
'page/account/user.tpl'
;
20
28
public
function
render
()
29
{
30
31
parent::render
();
32
33
// is logged in ?
34
if
(!($this->
getUser
())) {
35
return
$this->_sThisTemplate =
$this->_sThisLoginTemplate
;
36
}
37
38
return
$this->_sThisTemplate
;
39
}
40
46
public
function
showShipAddress
()
47
{
48
return
oxRegistry::getSession
()->getVariable(
'blshowshipaddress'
);
49
}
50
56
public
function
getBreadCrumb
()
57
{
58
$aPaths = array();
59
$aPath = array();
60
61
$iBaseLanguage =
oxRegistry::getLang
()->getBaseLanguage();
62
$sSelfLink = $this->
getViewConfig
()->getSelfLink();
63
64
$aPath[
'title'
] =
oxRegistry::getLang
()->translateString(
'MY_ACCOUNT'
, $iBaseLanguage,
false
);
65
$aPath[
'link'
] =
oxRegistry::get
(
"oxSeoEncoder"
)->getStaticUrl($sSelfLink .
'cl=account'
);
66
$aPaths[] = $aPath;
67
68
$aPath[
'title'
] =
oxRegistry::getLang
()->translateString(
'BILLING_SHIPPING_SETTINGS'
, $iBaseLanguage,
false
);
69
$aPath[
'link'
] = $this->
getLink
();
70
$aPaths[] = $aPath;
71
72
return
$aPaths;
73
}
74
}
application
controllers
account_user.php
Generated by
1.8.1.2