[Solar-talk] Country list

Antti Holvikari anttih at gmail.com
Tue Oct 17 14:21:12 PDT 2006


Hi!

I need to store a list of countrys somewhere so that I can access it
almost from everywhere. It should be in the form of:

array(
    'FI' => 'Finland',
    ....
);

Where do you think I should store it? It's not exactly a view helper
nor a validation method. I bet someone has had a need for this or will
have :-). It gets interesting if we want to have the country list
itself localized :-)

I'm thinking I could create a form helper to create a select list of
countrys once I get this working.

Ps. Do you know where I could copy&paste a country list?

-- 
Antti Holvikari <http://phphalo.com>


More information about the solar-talk mailing list