Guten Tag,

ich versuche grade das array der verfügbaren Varianten aus bzw zu übergeben. Ich komme jedoch an das Array irgendwie nicht ran. So weit bin ich:

Code:
<?php foreach( $this->options as $arrOption ):
		print_r($arrOption['widget']);
endforeach;?>
Code:
Contao\FormSelectMenu Object
(
    [blnSubmitInput:protected] => 1
    [blnForAttribute:protected] => 1
    [strTemplate:protected] => form_select
    [strPrefix:protected] => widget widget-select
    [strId:protected] => zimmer_fmd22_product_1180
    [strName:protected] => zimmer
    [strLabel:protected] => Zimmerkategorie
    [varValue:protected] => 
    [inputCallback:protected] => 
    [strClass:protected] => select mandatory
    [strWizard:protected] => 
    [arrErrors:protected] => Array
        (
        )

   ....
....

    [arrOptions:protected] => Array
        (
            [0] => Array
                (
                    [value] => 
                    [label] => 
                )

            [1] => Array
                (
                    [value] => 30
                    [label] => xxx
                )

            [2] => Array
                (
                    [value] => 26
                    [label] => xxx
                )

            [3] => Array
                (
                    [value] => 44
                    [label] => xxx
                )

        )

Wie gebe ich das [arrOptionsrotected] aus? weder $arrOption['widget']->arrOptions noch $arrOption['widget']['arrOptions'] funktionieren.

Das Produkt leitet auf ein Formular weiter bei dem ich nur die angeboten Zimmer(Varianten) anzeigen will - dazu muss brauche ich aber ein array oder einen String den ich übergeben kann.

Danke schon mal.