src/ShopBundle/objects/db/TShopOrderStep/TShopStepShippingCore.class.php
public function GetHtmlHeadIncludes()
    {
        $aIncludes = parent::GetHtmlHeadIncludes();

        if (isset($this->oActiveShippingGroup)) {
            $oPaymentMethodList = TShopBasket::GetInstance()->GetAvailablePaymentMethods();
            if ($oPaymentMethodList) {
                while ($oPaymentMethod = $oPaymentMethodList->Next()) {
                    $oPaymentHandler = $oPaymentMethod->GetFieldShopPaymentHandler();

                    if (method_exists($oPaymentHandler, 'GetHtmlHeadIncludes')) {
                        $aAdditionalIncludes = $oPaymentHandler->GetHtmlHeadIncludes();
                        if (count($aAdditionalIncludes) > 0) {
                            $aIncludes = array_merge($aIncludes, $aAdditionalIncludes);
                        }
                    }
                }
            }
        }

        return $aIncludes;
    }
public function GetHtmlHeadIncludes()
    {
        $aIncludes = parent::GetHtmlHeadIncludes();

        if (isset($this->oActiveShippingGroup)) {
            $oPaymentMethodList = TShopBasket::GetInstance()->GetAvailablePaymentMethods();
            if ($oPaymentMethodList) {
                while ($oPaymentMethod = $oPaymentMethodList->Next()) {
                    $oPaymentHandler = $oPaymentMethod->GetFieldShopPaymentHandler();

                    if (method_exists($oPaymentHandler, 'GetHtmlHeadIncludes')) {
                        $aAdditionalIncludes = $oPaymentHandler->GetHtmlHeadIncludes();
                        if (count($aAdditionalIncludes) > 0) {
                            $aIncludes = array_merge($aIncludes, $aAdditionalIncludes);
                        }
                    }
                }
            }
        }

        return $aIncludes;
    }
public function GetHtmlHeadIncludes ( ) { $ aIncludes = parent :: GetHtmlHeadIncludes ( ) ; if ( isset ( $ this -> oActiveShippingGroup ) ) { $ oPaymentMethodList = TShopBasket :: GetInstance ( ) -> GetAvailablePaymentMethods ( ) ; if ( $ oPaymentMethodList ) { while ( $ oPaymentMethod = $ oPaymentMethodList -> Next ( ) ) { $ oPaymentHandler = $ oPaymentMethod -> GetFieldShopPaymentHandler ( ) ; if ( method_exists ( $ oPaymentHandler , 'GetHtmlHeadIncludes' ) ) { $ aAdditionalIncludes = $ oPaymentHandler -> GetHtmlHeadIncludes ( ) ; if ( count ( $ aAdditionalIncludes ) > 0 ) { $ aIncludes = array_merge ( $ aIncludes , $ aAdditionalIncludes ) ; } } } } } return $ aIncludes ; }
define any head includes the step needs
loads includes from payment handlers.

@return array
define any head includes the step needs loads includes from payment handlers .