I hace a states list in my config.yml file like this
MyConfig:
States:
AL: Alabama
AK: Alaska
AZ: Arizona
AR: Arkansas
CA: California
CO: Colorado
and with this i can populate dropdown like this Config::inst()->get('MyConfig', 'States'); this works great.
but now i just wand to get the Key/Value pairs so i can process them but if i do
$states = Config::inst()->get('MyConfig', 'States');
i'm only getting the values not the Keys how do i get them both?
Thank you