src/ExtranetRegistrationGuestBundle/pkgExtranet/objects/db/TPkgExtranetRegistrationGuest_TDataExtranetUser.class.php
public function RegistrationGuestIsAllowed($oLastBoughtUser)
    {
        $bRegistrationGuestIsAllowed = false;
        if (!is_null($oLastBoughtUser) && !$this->IsLoggedIn() && !$oLastBoughtUser->LoginExists()) {
            $bRegistrationGuestIsAllowed = true;
        }

        return $bRegistrationGuestIsAllowed;
    }
public function RegistrationGuestIsAllowed($oLastBoughtUser)
    {
        $bRegistrationGuestIsAllowed = false;
        if (!is_null($oLastBoughtUser) && !$this->IsLoggedIn() && !$oLastBoughtUser->LoginExists()) {
            $bRegistrationGuestIsAllowed = true;
        }

        return $bRegistrationGuestIsAllowed;
    }
public function RegistrationGuestIsAllowed ( $ oLastBoughtUser ) { $ bRegistrationGuestIsAllowed = false ; if ( ! is_null ( $ oLastBoughtUser ) && ! $ this -> IsLoggedIn ( ) && ! $ oLastBoughtUser -> LoginExists ( ) ) { $ bRegistrationGuestIsAllowed = true ; } return $ bRegistrationGuestIsAllowed ; }
Checks if active user and given last bought user.

@param TdbDataExtranetUser $oLastBoughtUser

@return bool
Checks if active user and given last bought user .