src/ShopBundle/objects/db/TShopOrderStep/TShopOrderStep.class.php
public function Init()
    {
        $basket = $this->getShopService()->getActiveBasket();
        $basket->aCompletedOrderStepList[$this->fieldSystemname] = false;
        $this->CheckBasketContents();

        if (false === $this->AllowAccessToStep(true)) {
            $this->JumpToStep($this->GetPreviousStep());
        }
        if ('basket' !== $this->fieldSystemname && 'thankyou' !== $this->fieldSystemname) {
            $basket->CommitCopyToDatabase(false, $this->fieldSystemname);
        } // commit basket to database...
    }
public function Init()
    {
        $basket = $this->getShopService()->getActiveBasket();
        $basket->aCompletedOrderStepList[$this->fieldSystemname] = false;
        $this->CheckBasketContents();

        if (false === $this->AllowAccessToStep(true)) {
            $this->JumpToStep($this->GetPreviousStep());
        }
        if ('basket' !== $this->fieldSystemname && 'thankyou' !== $this->fieldSystemname) {
            $basket->CommitCopyToDatabase(false, $this->fieldSystemname);
        } // commit basket to database...
    }
public function Init ( ) { $ basket = $ this -> getShopService ( ) -> getActiveBasket ( ) ; $ basket -> aCompletedOrderStepList [ $ this -> fieldSystemname ] = false ; $ this -> CheckBasketContents ( ) ; if ( false === $ this -> AllowAccessToStep ( true ) ) { $ this -> JumpToStep ( $ this -> GetPreviousStep ( ) ) ; } if ( 'basket' !== $ this -> fieldSystemname && 'thankyou' !== $ this -> fieldSystemname ) { $ basket -> CommitCopyToDatabase ( false , $ this -> fieldSystemname ) ; } // commit basket to database... }
Called from the init method of the calling module.
Visitor permissions for the requested step may be checked and the user redirected.
Called from the init method of the calling module . Visitor permissions for the requested step may be checked and the user redirected .