In your example I get an error:

require_once 'Zend/Locale.php';
$locale = new Zend_Locale('de');

$country = $locale->getList('country');
$territory = $locale->getList('territory'); $connection =
$locale->getList('territory_detail');

print_r($country);
print_r($territory);
print_r($connection);


Fatal error: Call to undefined method Zend_Locale::getList() in
C:\AWebEnvironment\htdocs\HoTxt\index.php on line 13

I have version .8 Is this a new feature on SVN?

Can you point that out in examples that it is available in version ###

I will update now and see if it is there.

Cheers

Ian

> -----Original Message-----
> From: Thomas Weidner [mailto:[EMAIL PROTECTED]
> Sent: 26 February 2007 22:10
> To: [EMAIL PROTECTED]
> Cc: Ian Warner; [email protected]
> Subject: Re: [fw-general] Zend_Locale
> 
> >However, I still think that there should be a way to separate continents
> >from regions(which might be complicated as Stéphane already pointed out).
> >Likewise, it would be great if instead of a string (with a list of
> country
> >codes separated by white spaces) objects would be given back.
> 
> As I wrote before this is already be supported... see the example I sent
> to
> you.
> The only thing is that the parameter is not named "continent" because
> there
> are also
> subcontinents included... just use "territory" as seen in the example I
> sent
> and
> within the already existing docu.
> 
> And Zend_Locale will never return objects.
> How should I return an object "north-america" or "antarctica" ???
> The data which we speak of here is not identical with a locale !!!
> 
> >Enough of the feature request ;)
> 
> Well, until now no one sent a feature request to jira.
> 
> Greetings
> Thomas
> I18N Team Leader


Reply via email to