With Matrix blocks how can i get the column names From a craft matrix block how do i get the field names when no data has yet been entered?

i can write:

$o_matrix_block-&gt;getContent()-&gt;getAttributeConfigs();


this will give me an array:

 Array
                    (
                        [id] =&gt; Array
                            (
                                [maxLength] =&gt; 11
                                [min] =&gt; -2147483648
                                [max] =&gt; 2147483647
                                [decimals] =&gt; 0
                                [type] =&gt; number
                                [unsigned] =&gt; 
                                [length] =&gt; 10
                                [column] =&gt; integer
                            )

                        [elementId] =&gt; Array
                            (
                                [maxLength] =&gt; 11
                                [min] =&gt; -2147483648
                                [max] =&gt; 2147483647
                                [decimals] =&gt; 0
                                [type] =&gt; number
                                [unsigned] =&gt; 
                                [length] =&gt; 10
                                [column] =&gt; integer
                            )

                        [locale] =&gt; Array
                            (
                                [column] =&gt; locale
                                [default] =&gt; en_gb
                                [type] =&gt; locale
                            )

                        [title] =&gt; Array
                            (
                                [required] =&gt; 
                                [maxLength] =&gt; 255
                                [label] =&gt; Title
                                [type] =&gt; string
                            )


but I only get the array, when I have entered data.

with out getcontent() but the array elements are wrong

Pls help!

:)
My guess is the array is empty because there is no content.
Try $o_matrix_block-&gt;getType()-&gt;getFields();