74         if (!($oUser = $this->
getUser())) {
 
   82         if (!$oActList && $oLists->count()) {
 
   83             $this->_iAllArtCnt = $oUser->getRecommListsCount();
 
   84             $iNrofCatArticles = (int) $this->
getConfig()->getConfigParam(
'iNrofCatArticles');
 
   85             $iNrofCatArticles = $iNrofCatArticles ? $iNrofCatArticles : 10;
 
   86             $this->_iCntPages = round($this->_iAllArtCnt / $iNrofCatArticles + 0.49);
 
  103             $aParams[
'recommid'] = $oList->getId();
 
  116         if ($this->_aUserRecommLists === null) {
 
  117             $this->_aUserRecommLists = 
false;
 
  118             if (($oUser = $this->
getUser())) {
 
  120                 $this->_aUserRecommLists = $oUser->getUserRecommLists();
 
  134         if ($this->_oActRecommListArticles === null) {
 
  135             $this->_oActRecommListArticles = 
false;
 
  138                 $oItemList = $oRecommList->getArticles();
 
  140                 if ($oItemList->count()) {
 
  141                     foreach ($oItemList as $key => $oItem) {
 
  142                         if (!$oItem->isVisible()) {
 
  143                             $oRecommList->removeArticle($oItem->getId());
 
  144                             $oItemList->offsetUnset($key);
 
  148                         $oItem->text = $oRecommList->getArtDescription($oItem->getId());
 
  150                     $this->_oActRecommListArticles = $oItemList;
 
  169         if ($this->_oActRecommList === null) {
 
  170             $this->_oActRecommList = 
false;
 
  172             if (($oUser = $this->
getUser()) &&
 
  176                 $oRecommList = 
oxNew(
'oxrecommlist');
 
  177                 $sUserIdField = 
'oxrecommlists__oxuserid';
 
  178                 if (($oRecommList->load($sRecommId)) && $oUser->getId() === $oRecommList->$sUserIdField->value) {
 
  179                     $this->_oActRecommList = $oRecommList;
 
  194         $this->_oActRecommList = $oRecommList;
 
  212         if (($oUser = $this->
getUser())) {
 
  214                 $oRecommList = 
oxNew(
'oxrecommlist');
 
  215                 $oRecommList->oxrecommlists__oxuserid = 
new oxField($oUser->getId());
 
  216                 $oRecommList->oxrecommlists__oxshopid = 
new oxField($this->
getConfig()->getShopId());
 
  218                 $this->_sThisTemplate = 
'page/account/recommendationedit.tpl';
 
  225             $oRecommList->oxrecommlists__oxtitle = 
new oxField($sTitle);
 
  226             $oRecommList->oxrecommlists__oxauthor = 
new oxField($sAuthor);
 
  227             $oRecommList->oxrecommlists__oxdesc = 
new oxField($sText);
 
  231                 $this->_blSavedEntry = (bool) $oRecommList->save();
 
  235                 oxRegistry::get(
"oxUtilsView")->addErrorToDisplay($oEx, 
false, 
true, 
'user');
 
  269             $oRecommList->delete();
 
  272             $this->_sThisTemplate = 
'page/account/recommendationedit.tpl';
 
  294             $oRecommList->removeArticle($sArtId);
 
  296         $this->_sThisTemplate = 
'page/account/recommendationedit.tpl';
 
  306         if ($this->_oPageNavigation === null) {
 
  307             $this->_oPageNavigation = 
false;
 
  308             if (!$this->getActiveRecommlist()) {
 
  328         $aPath[
'title'] = 
oxRegistry::getLang()->translateString(
'MY_ACCOUNT', $iBaseLanguage, 
false);
 
  329         $aPath[
'link'] = 
oxRegistry::get(
"oxSeoEncoder")->getStaticUrl($sSelfLink . 
'cl=account');
 
  332         $aPath[
'title'] = 
oxRegistry::getLang()->translateString(
'LISTMANIA', $iBaseLanguage, 
false);
 
  333         $aPath[
'link'] = $this->
getLink();