src/ShopBundle/objects/db/TShopOrderStep/TShopStepOrderCompletedCore.class.php
public function Render($sSpotName = null, $aCallTimeVars = array())
    {
        $oUser = TdbDataExtranetUser::GetInstance();
        if (!is_null($oUser->fieldName) && !$oUser->IsLoggedIn()) {
            $this->SetLastUserBoughtToSession($oUser);
        }
        $sHTML = parent::Render($sSpotName, $aCallTimeVars);
        TdbShopOrderStep::ResetMarkOrderProcessAsCompleted();
        // if the user is not logged in, we need to clear the user object

        if (empty($oUser->id) || false == $oUser->IsLoggedIn()) {
            $tmp = $oUser->GetInstance(true);
        }

        return $sHTML;
    }
public function Render($sSpotName = null, $aCallTimeVars = array())
    {
        $oUser = TdbDataExtranetUser::GetInstance();
        if (!is_null($oUser->fieldName) && !$oUser->IsLoggedIn()) {
            $this->SetLastUserBoughtToSession($oUser);
        }
        $sHTML = parent::Render($sSpotName, $aCallTimeVars);
        TdbShopOrderStep::ResetMarkOrderProcessAsCompleted();
        // if the user is not logged in, we need to clear the user object

        if (empty($oUser->id) || false == $oUser->IsLoggedIn()) {
            $tmp = $oUser->GetInstance(true);
        }

        return $sHTML;
    }
public function Render ( $ sSpotName = null , $ aCallTimeVars = array ( ) ) { $ oUser = TdbDataExtranetUser :: GetInstance ( ) ; if ( ! is_null ( $ oUser -> fieldName ) && ! $ oUser -> IsLoggedIn ( ) ) { $ this -> SetLastUserBoughtToSession ( $ oUser ) ; } $ sHTML = parent :: Render ( $ sSpotName , $ aCallTimeVars ) ; TdbShopOrderStep :: ResetMarkOrderProcessAsCompleted ( ) ; // if the user is not logged in, we need to clear the user object if ( empty ( $ oUser -> id ) || false == $ oUser -> IsLoggedIn ( ) ) { $ tmp = $ oUser -> GetInstance ( true ) ; } return $ sHTML ; }
used to display the step.

@param array $aCallTimeVars - place any custom vars that you want to pass through the call here

@return string
used to display the step .