60 if ($this->_oWishUser === null) {
61 $this->_oWishUser =
false;
66 $oUser =
oxNew(
'oxuser');
67 if ($oUser->load($sUserId)) {
70 $this->_oWishUser = $oUser;
88 if ($this->_oWishList === null) {
89 $this->_oWishList =
false;
94 $oWishlistBasket = $oUser->getBasket(
'wishlist');
95 $this->_oWishList = $oWishlistBasket->getArticles();
97 if (!$oWishlistBasket->isVisible()) {
98 $this->_oWishList =
false;
121 $oUserList =
oxNew(
'oxuserlist');
122 $oUserList->loadWishlistUsers($sSearch);
123 if ($oUserList->count()) {
124 $this->_oWishListUsers = $oUserList;
126 $this->_sSearchParam = $sSearch;
162 $aPath[
'title'] =
oxRegistry::getLang()->translateString(
'PUBLIC_GIFT_REGISTRIES', $iBaseLanguage,
false);
163 $aPath[
'link'] = $this->
getLink();
178 $sTranslatedString = $oLang->translateString(
'GIFT_REGISTRY_OF_3', $oLang->getBaseLanguage(),
false);
179 $sFirstnameField =
'oxuser__oxfname';
180 $sLastnameField =
'oxuser__oxlname';
182 $sTitle = $sTranslatedString .
' ' . $oUser->$sFirstnameField->value .
' ' . $oUser->$sLastnameField->value;
184 $sTitle = $oLang->translateString(
'PUBLIC_GIFT_REGISTRIES', $oLang->getBaseLanguage(),
false);