src/ShopBundle/objects/db/TShopPaymentMethodList.class.php
public static function &GetPublicPaymentMethods($iGroupId)
    {
        $query = self::getAvailableMethodsQuery($iGroupId);

        $oList = &TdbShopPaymentMethodList::GetList($query);
        $oList->bAllowItemCache = true;
        $oList->RemoveRestrictedItems();

        return $oList;
    }
public static function &GetPublicPaymentMethods($iGroupId)
    {
        $query = self::getAvailableMethodsQuery($iGroupId);

        $oList = &TdbShopPaymentMethodList::GetList($query);
        $oList->bAllowItemCache = true;
        $oList->RemoveRestrictedItems();

        return $oList;
    }
public static function & GetPublicPaymentMethods ( $ iGroupId ) { $ query = self :: getAvailableMethodsQuery ( $ iGroupId ) ; $ oList = & TdbShopPaymentMethodList :: GetList ( $ query ) ; $ oList -> bAllowItemCache = true ; $ oList -> RemoveRestrictedItems ( ) ; return $ oList ; }
return all public payment methods for a given shipping group.

@param int $iGroupId

@return TdbShopPaymentMethodList
return all public payment methods for a given shipping group .