Ive got in app.yml some configration data, and I want to foreach them in action. I try do this by get them by sfConfig::get('app_datas') but it fails. Lets show them in details:
YAML:
all:
datas:
foo: bar
foo2: bar2
and in the actions.class.php I try use this code:
foreach (sfConfig::get('app_datas') as $key => $value) {
echo "key $key has value $value";
}
it doesnt work because sfConfig::get('app_datas') is NULL, how simly get it?