Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getCountryIdByNumber example
case
self::TYPE_VARIANT:
return
$this
->
getProductVariantIdByNumber
(
$number
)
;
case
self::TYPE_PRODUCT_LINK:
$this
->
getLinkIdByNumber
(
$number
)
;
// no break
case
self::TYPE_PRODUCT_DOWNLOAD:
$this
->
getDownloadIdByNumber
(
$number
)
;
// no break
case
self::TYPE_PRODUCT_MANUFACTURER:
return
$this
->
getManufacturerIdByNumber
(
$number
)
;
case
self::TYPE_COUNTRY:
return
$this
->
getCountryIdByNumber
(
$number
)
;
case
self::TYPE_COUNTRY_STATE:
return
$this
->
getCountryStateIdByNumber
(
$number
)
;
case
self::TYPE_DISPATCH:
return
$this
->
getDispatchIdByNumber
(
$number
)
;
case
self::TYPE_PAYMENT:
return
$this
->
getPaymentIdByNumber
(
$number
)
;
case
self::TYPE_FILTER_SET:
return
$this
->
getFilterSetIdByNumber
(
$number
)
;
case
self::TYPE_FILTER_GROUP:
return
$this
->
getFilterGroupIdByNumber
(
$number
)
;
case
self::TYPE_FILTER_OPTION: