76 if ($this->_aOrderList === null) {
77 $this->_aOrderList = array();
80 if ($oUser = $this->
getUser()) {
81 $iNrofCatArticles = (int) $this->
getConfig()->getConfigParam(
'iNrofCatArticles');
82 $iNrofCatArticles = $iNrofCatArticles ? $iNrofCatArticles : 1;
83 $this->_iAllArtCnt = $oUser->getOrderCount();
84 if ($this->_iAllArtCnt && $this->_iAllArtCnt > 0) {
85 $this->_aOrderList = $oUser->getOrders($iNrofCatArticles, $this->
getActPage());
86 $this->_iCntPages = round($this->_iAllArtCnt / $iNrofCatArticles + 0.49);
101 if ($this->_aArticlesList === null) {
104 $this->_aArticlesList =
false;
106 if ($oOrdersList && $oOrdersList->count()) {
107 $this->_aArticlesList =
oxNew(
'oxarticlelist');
108 $this->_aArticlesList->loadOrderArticles($oOrdersList);
122 if ($this->_oPageNavigation === null) {
126 return $this->_oPageNavigation;
141 $aPath[
'title'] =
oxRegistry::getLang()->translateString(
'MY_ACCOUNT', $iBaseLanguage,
false);
142 $aPath[
'link'] =
oxRegistry::get(
"oxSeoEncoder")->getStaticUrl($sSelfLink .
'cl=account');
145 $aPath[
'title'] =
oxRegistry::getLang()->translateString(
'ORDER_HISTORY', $iBaseLanguage,
false);
146 $aPath[
'link'] = $this->
getLink();