Syntax

getGlobalSettings()

Gives back some global settings of Digistore24, for example allowed image sizes. You don't need to duplicate those settings in your app then. If the values change in Digistore24, your app will adapt automatically.

Access rights

Read access, full access or developer key required.

Arguments

none

Return data

image_metas – in assoziative Array with metadata for the different image types of Digistore24

types – for some characteristics of products or other things in Digistore24 there are different possible values. Under “types” the different possible values for fields are listed.

Example:

[image_metas] => Array
(
    [product] => Array
    (
        [label] => Produkt
        [limits] => Array
        (
            [max_file_size_kb] => 500
            [min_width] => 100
            [max_width] => 100
            [max_height] => 500
            [min_height] => 100
        )

        [limits_msg] => Breite genau 100 Pixel, Höhe von 100 bis 500 Pixel, max. 500 KB
    )
    ...
)
[types] => Array
(
    [first_billing_interval] => Array
    (
        [4_day] => 4 Tage
        [5_day] => 5 Tage
        ...
    ...
)