src/ShopBundle/objects/db/TShop.class.php
public function RenderShippingInfo($sViewName, $sViewType, $aCallTimeVars = array())
    {
        $oView = new TViewParser();
        $oView->AddVar('oShop', $this);
        $oShippingIntroText = $this->GetShopInfo('shipping-intro');
        $oShippingEndText = $this->GetShopInfo('shipping-end');
        $oView->AddVar('oShippingIntroText', $oShippingIntroText);
        $oView->AddVar('oShippingEndText', $oShippingEndText);

        // get the shipping list for users not sigend in
        $oPublicShippingGroups = &TdbShopShippingGroupList::GetPublicShippingGroups();
        $oView->AddVar('oPublicShippingGroups', $oPublicShippingGroups);

        $oView->AddVar('aCallTimeVars', $aCallTimeVars);
        $aOtherParameters = $this->GetAdditionalViewVariables($sViewName, $sViewType);
        $oView->AddVarArray($aOtherParameters);

        return $oView->RenderObjectPackageView($sViewName, self::VIEW_PATH, $sViewType);
    }
public function RenderShippingInfo($sViewName, $sViewType, $aCallTimeVars = array())
    {
        $oView = new TViewParser();
        $oView->AddVar('oShop', $this);
        $oShippingIntroText = $this->GetShopInfo('shipping-intro');
        $oShippingEndText = $this->GetShopInfo('shipping-end');
        $oView->AddVar('oShippingIntroText', $oShippingIntroText);
        $oView->AddVar('oShippingEndText', $oShippingEndText);

        // get the shipping list for users not sigend in
        $oPublicShippingGroups = &TdbShopShippingGroupList::GetPublicShippingGroups();
        $oView->AddVar('oPublicShippingGroups', $oPublicShippingGroups);

        $oView->AddVar('aCallTimeVars', $aCallTimeVars);
        $aOtherParameters = $this->GetAdditionalViewVariables($sViewName, $sViewType);
        $oView->AddVarArray($aOtherParameters);

        return $oView->RenderObjectPackageView($sViewName, self::VIEW_PATH, $sViewType);
    }
public function RenderShippingInfo ( $ sViewName , $ sViewType , $ aCallTimeVars = array ( ) ) { $ oView = new TViewParser ( ) ; $ oView -> AddVar ( 'oShop' , $ this ) ; $ oShippingIntroText = $ this -> GetShopInfo ( 'shipping-intro' ) ; $ oShippingEndText = $ this -> GetShopInfo ( 'shipping-end' ) ; $ oView -> AddVar ( 'oShippingIntroText' , $ oShippingIntroText ) ; $ oView -> AddVar ( 'oShippingEndText' , $ oShippingEndText ) ; // get the shipping list for users not sigend in $ oPublicShippingGroups = & TdbShopShippingGroupList :: GetPublicShippingGroups ( ) ; $ oView -> AddVar ( 'oPublicShippingGroups' , $ oPublicShippingGroups ) ; $ oView -> AddVar ( 'aCallTimeVars' , $ aCallTimeVars ) ; $ aOtherParameters = $ this -> GetAdditionalViewVariables ( $ sViewName , $ sViewType ) ; $ oView -> AddVarArray ( $ aOtherParameters ) ; return $ oView -> RenderObjectPackageView ( $ sViewName , self :: VIEW_PATH , $ sViewType ) ; }
render the shipping infos.

@return string
render the shipping infos .