手机
当前位置:查字典教程网 >编程开发 >php教程 >Array of country list in PHP with Zend Framework
Array of country list in PHP with Zend Framework
摘要:复制代码代码如下:publicstaticfunctioncountryList($local){$locale=newZend_Local...

复制代码 代码如下:

public static function countryList($local)

{

$locale = new Zend_Locale('en_US');

$countries = ($locale->getTranslationList('Territory', $local, 2));

asort($countries, SORT_LOCALE_STRING);

$countries = array_combine($countries, $countries);

return $countries;

}

【Array of country list in PHP with Zend Framework】相关文章:

PHP session文件独占锁引起阻塞问题解决方法

WINDOWS 2000下使用ISAPI方式安装PHP

BS结构中使用PHP访问ORACLE LOB

如何在PHP中使用Oracle数据库(4)

一个简单的自动发送邮件系统(三)

PHP 5.0对象模型深度探索之绑定

PHP 和 MySQL 基础教程(二)

提升PHP执行速度全攻略

人大复印资料处理程序_补充篇

vBulletin Forum 2.3.xx SQL Injection

精品推荐
分类导航