I have a data download that I want to save to /apps/frontend/modules/builder/config/module.yml.
It looks something like this for me:
all:
series_options:
compact:
name: Compact
description: Something small.
enabled: 1
large:
name: Large
description: Bit bigger.
enabled: 0
In the actions.class file, if I write this:
sfConfig::get('mod_builder_series_options_compact');
I get it
Array
(
[name] => Compact
[description] => Something small.
[enabled] => 1
)
Perfect. But I want to write this:
sfConfig::get('mod_builder_series_options');
What gives NULL.
Is there a way to get this to return the full associative array to full depth so that I can iterate through various parameters?
Tom source
share