src/ExtranetRegistrationGuestBundle/pkgExtranet/objects/WebModules/MTExtranetRegistrationGuestCore/MTExtranetRegistrationGuestCore.class.php
protected function ActivePageIsRegisterAfterShopping()
    {
        $bActivePageIsRegisterAfterShopping = false;
        $oURLData = TCMSSmartURLData::GetActive();
        $oShop = TdbShop::GetInstance($oURLData->iPortalId);
        $sNodeId = $oShop->GetSystemPageNodeId('register-after-shopping');
        $oActivePage = $this->getActivePageService()->getActivePage();
        if ($oActivePage && $sNodeId == $oActivePage->GetMainTreeId()) {
            $bActivePageIsRegisterAfterShopping = true;
        }

        return $bActivePageIsRegisterAfterShopping;
    }
protected function ActivePageIsRegisterAfterShopping()
    {
        $bActivePageIsRegisterAfterShopping = false;
        $oURLData = TCMSSmartURLData::GetActive();
        $oShop = TdbShop::GetInstance($oURLData->iPortalId);
        $sNodeId = $oShop->GetSystemPageNodeId('register-after-shopping');
        $oActivePage = $this->getActivePageService()->getActivePage();
        if ($oActivePage && $sNodeId == $oActivePage->GetMainTreeId()) {
            $bActivePageIsRegisterAfterShopping = true;
        }

        return $bActivePageIsRegisterAfterShopping;
    }
protected function ActivePageIsRegisterAfterShopping ( ) { $ bActivePageIsRegisterAfterShopping = false ; $ oURLData = TCMSSmartURLData :: GetActive ( ) ; $ oShop = TdbShop :: GetInstance ( $ oURLData -> iPortalId ) ; $ sNodeId = $ oShop -> GetSystemPageNodeId ( 'register-after-shopping' ) ; $ oActivePage = $ this -> getActivePageService ( ) -> getActivePage ( ) ; if ( $ oActivePage && $ sNodeId == $ oActivePage -> GetMainTreeId ( ) ) { $ bActivePageIsRegisterAfterShopping = true ; } return $ bActivePageIsRegisterAfterShopping ; }
Checks if active page is register guest page.

@return bool
Checks if active page is register guest page .