I am calling:
$locale = new Zend_Locale('en_GB');
$country_array = $locale->getRegionList();
I would like to stick it straight into a Quickform Heir select.
I.e.
// Country and Network Hier Select
$sel =& $form->addElement('hierselect', 'country',
gettext('signup_country'), null, ' - ');
$secOptions = array('GB' => array('1' => 'Orange',
'2' => 'Vodafone'));
This provides some functionality
However within the initial array there is continental data
[001] => World
[002] => Africa
[003] => North America
[005] => South America
[009] => Oceania
It would be nice to delimit on countries or continents etc. And also to
state whether the array should be ISO 2 char or 3 char, and maybe some flags
to sort this array - either by country code or country.
Anyway very new to Zend if I am missing something then I apologise - but
just trying to get my head around this method, is this work in progress?
Cheers
Ian