src/ShopBundle/objects/db/TShopOrderStep/TShopOrderStep.class.php
public function Render($sSpotName = null, $aCallTimeVars = array())
    {
        $oView = new TViewParser();

        $oView->AddVar('oShop', $this->getShopService()->getActiveShop());
        $oView->AddVar('oStep', $this);

        $oStepNext = $this->GetNextStep();
        $oStepPrevious = $this->GetPreviousStep();
        $oView->AddVar('oStepNext', $oStepNext);
        $oView->AddVar('oStepPrevious', $oStepPrevious);

        $sBackLink = $this->GetReturnToLastStepURL();
        $oView->AddVar('sBackLink', $sBackLink);

        $oView->AddVar('sSpotName', $sSpotName);
        $oView->AddVar('aCallTimeVars', $aCallTimeVars);

        $sViewName = $this->GetRenderViewName();
        $sViewType = $this->GetRenderViewType();
        $aOtherParameters = &$this->GetAdditionalViewVariables($sViewName, $sViewType);
        $oView->AddVarArray($aOtherParameters);

        return $oView->RenderObjectPackageView($sViewName, $this->getStepViewPath(), $sViewType);
    }
public function Render($sSpotName = null, $aCallTimeVars = array())
    {
        $oView = new TViewParser();

        $oView->AddVar('oShop', $this->getShopService()->getActiveShop());
        $oView->AddVar('oStep', $this);

        $oStepNext = $this->GetNextStep();
        $oStepPrevious = $this->GetPreviousStep();
        $oView->AddVar('oStepNext', $oStepNext);
        $oView->AddVar('oStepPrevious', $oStepPrevious);

        $sBackLink = $this->GetReturnToLastStepURL();
        $oView->AddVar('sBackLink', $sBackLink);

        $oView->AddVar('sSpotName', $sSpotName);
        $oView->AddVar('aCallTimeVars', $aCallTimeVars);

        $sViewName = $this->GetRenderViewName();
        $sViewType = $this->GetRenderViewType();
        $aOtherParameters = &$this->GetAdditionalViewVariables($sViewName, $sViewType);
        $oView->AddVarArray($aOtherParameters);

        return $oView->RenderObjectPackageView($sViewName, $this->getStepViewPath(), $sViewType);
    }
public function Render ( $ sSpotName = null , $ aCallTimeVars = array ( ) ) { $ oView = new TViewParser ( ) ; $ oView -> AddVar ( 'oShop' , $ this -> getShopService ( ) -> getActiveShop ( ) ) ; $ oView -> AddVar ( 'oStep' , $ this ) ; $ oStepNext = $ this -> GetNextStep ( ) ; $ oStepPrevious = $ this -> GetPreviousStep ( ) ; $ oView -> AddVar ( 'oStepNext' , $ oStepNext ) ; $ oView -> AddVar ( 'oStepPrevious' , $ oStepPrevious ) ; $ sBackLink = $ this -> GetReturnToLastStepURL ( ) ; $ oView -> AddVar ( 'sBackLink' , $ sBackLink ) ; $ oView -> AddVar ( 'sSpotName' , $ sSpotName ) ; $ oView -> AddVar ( 'aCallTimeVars' , $ aCallTimeVars ) ; $ sViewName = $ this -> GetRenderViewName ( ) ; $ sViewType = $ this -> GetRenderViewType ( ) ; $ aOtherParameters = & $ this -> GetAdditionalViewVariables ( $ sViewName , $ sViewType ) ; $ oView -> AddVarArray ( $ aOtherParameters ) ; return $ oView -> RenderObjectPackageView ( $ sViewName , $ this -> getStepViewPath ( ) , $ sViewType ) ; }
Renders the requested step.

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

@return string
Renders the requested step .