Hi,
I have a load of data I want to store here: /apps/frontend/modules/builder/config/module.yml
I have it looking something like:
all:
series_options:
compact:
name: Compact
description: Something small.
enabled: 1
large:
name: Large
description: Bit bigger.
enabled: 0
In the actions.class if I write this:
sfConfig::get('mod_builder_series_options_compact');
I get this
Array
(
[name] => Compact
[description] => Something small.
[enabled] => 1
)
Perfect. But I want to write this:
sfConfig::get('mod_builder_series_options');
Which gives NULL.
Is there any way I can get this to return the full associative array to its full depth so I can iterate through the different options?? It seems I can only get it to go down one level...
Thanks, Tom