public static function markBasketPaid(Basket $basket)
    {
        $basket->Status = Basket::STATUS_COMPLETED;
        $basket->save();
        $session = SuperCMSSession::singleton();
        $session->basketId = 0;
        $session->storeSession();
    }
public static function markBasketPaid(Basket $basket)
    {
        $basket->Status = Basket::STATUS_COMPLETED;
        $basket->save();
        $session = SuperCMSSession::singleton();
        $session->basketId = 0;
        $session->storeSession();
    }
public static function markBasketPaid ( Basket $ basket ) { $ basket -> Status = Basket :: STATUS_COMPLETED ; $ basket -> save ( ) ; $ session = SuperCMSSession :: singleton ( ) ; $ session -> basketId = 0 ; $ session -> storeSession ( ) ; }
Marks existing basket as paid and reloads all the settings
for a new basket
@param Basket $basket
Marks existing basket as paid and reloads all the settings for a new basket