source/Application/Controller/WishListController.php
public function getWishUser()
    {

        if ($this->_oWishUser === null) {
            $this->_oWishUser = false;

            $sWishIdParameter = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('wishid');
            $sUserId = $sWishIdParameter ? $sWishIdParameter : \OxidEsales\Eshop\Core\Registry::getSession()->getVariable('wishid');
            if ($sUserId) {
                $oUser = oxNew(\OxidEsales\Eshop\Application\Model\User::class);
                if ($oUser->load($sUserId)) {
                    // passing wishlist information
                    $this->_oWishUser = $oUser;

                    // store this one to session
                    \OxidEsales\Eshop\Core\Registry::getSession()->setVariable('wishid', $sUserId);
                }
            }
        }

        return $this->_oWishUser;
    }
public function getWishUser()
    {

        if ($this->_oWishUser === null) {
            $this->_oWishUser = false;

            $sWishIdParameter = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('wishid');
            $sUserId = $sWishIdParameter ? $sWishIdParameter : \OxidEsales\Eshop\Core\Registry::getSession()->getVariable('wishid');
            if ($sUserId) {
                $oUser = oxNew(\OxidEsales\Eshop\Application\Model\User::class);
                if ($oUser->load($sUserId)) {
                    // passing wishlist information
                    $this->_oWishUser = $oUser;

                    // store this one to session
                    \OxidEsales\Eshop\Core\Registry::getSession()->setVariable('wishid', $sUserId);
                }
            }
        }

        return $this->_oWishUser;
    }
public function getWishUser ( ) { if ( $ this -> _oWishUser === null ) { $ this -> _oWishUser = false ; $ sWishIdParameter = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( 'wishid' ) ; $ sUserId = $ sWishIdParameter ? $ sWishIdParameter : \ OxidEsales \ Eshop \ Core \ Registry :: getSession ( ) -> getVariable ( 'wishid' ) ; if ( $ sUserId ) { $ oUser = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ User :: class ) ; if ( $ oUser -> load ( $ sUserId ) ) { // passing wishlist information $ this -> _oWishUser = $ oUser ; // store this one to session \ OxidEsales \ Eshop \ Core \ Registry :: getSession ( ) -> setVariable ( 'wishid' , $ sUserId ) ; } } } return $ this -> _oWishUser ; }
return the user which is owner of the wish list

@return object | bool
return the user which is owner of the wish list