| [ Index ] |
PHP Cross Reference of Akelos Framework |
[Summary view] [Print] [Text view]
1 <?php 2 /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ 3 4 // +----------------------------------------------------------------------+ 5 // | Akelos Framework - http://www.akelos.org | 6 // +----------------------------------------------------------------------+ 7 // | Copyright (c) 2002-2006, Akelos Media, S.L. & Bermi Ferrer Martinez | 8 // | Released under the GNU Lesser General Public License, see LICENSE.txt| 9 // +----------------------------------------------------------------------+ 10 11 /** 12 * @package ActiveSupport 13 * @subpackage I18n-L10n 14 * @author Bermi Ferrer <bermi a.t akelos c.om> 15 * @copyright Copyright (c) 2002-2006, Akelos Media, S.L. http://www.akelos.org 16 * @license GNU Lesser General Public License <http://www.gnu.org/copyleft/lesser.html> 17 */ 18 19 class AkCountries 20 { 21 function getCountriesDescriptions() 22 { 23 return explode("\n", Ak::t("ALA|Åland Islands 24 AFG|Afghanistan 25 ALB|Albania 26 DZA|Algeria 27 ASM|American Samoa 28 AND|Andorra 29 AGO|Angola 30 AIA|Anguilla 31 ATG|Antigua and Barbuda 32 ARG|Argentina 33 ARM|Armenia 34 ABW|Aruba 35 AUS|Australia 36 AUT|Austria 37 AZE|Azerbaijan 38 BHS|Bahamas 39 BHR|Bahrain 40 BGD|Bangladesh 41 BRB|Barbados 42 BLR|Belarus 43 BEL|Belgium 44 BLZ|Belize 45 BEN|Benin 46 BMU|Bermuda 47 BTN|Bhutan 48 BOL|Bolivia 49 BIH|Bosnia and Herzegovina 50 BWA|Botswana 51 BRA|Brazil 52 VGB|British Virgin Islands 53 BRN|Brunei Darussalam 54 BGR|Bulgaria 55 BFA|Burkina Faso 56 BDI|Burundi 57 CIV|Côte d'Ivoire 58 KHM|Cambodia 59 CMR|Cameroon 60 CAN|Canada 61 CPV|Cape Verde 62 CYM|Cayman Islands 63 CAF|Central African Republic 64 TCD|Chad 65 CHL|Chile 66 CHN|China 67 COL|Colombia 68 COM|Comoros 69 COD|Congo, Democratic Republic 70 COG|Congo 71 COK|Cook Islands 72 CRI|Costa Rica 73 HRV|Croatia 74 CUB|Cuba 75 CYP|Cyprus 76 CZE|Czech Republic 77 DNK|Denmark 78 DJI|Djibouti 79 DOM|Dominican Republic 80 DMA|Dominica 81 ECU|Ecuador 82 EGY|Egypt 83 SLV|El Salvador 84 GNQ|Equatorial Guinea 85 ERI|Eritrea 86 EST|Estonia 87 ETH|Ethiopia 88 FRO|Faeroe Islands 89 FLK|Falkland Islands (Malvinas) 90 FJI|Fiji 91 FIN|Finland 92 FRA|France 93 GUF|French Guiana 94 PYF|French Polynesia 95 GAB|Gabon 96 GMB|Gambia 97 GEO|Georgia 98 DEU|Germany 99 GHA|Ghana 100 GIB|Gibraltar 101 GRC|Greece 102 GRL|Greenland 103 GRD|Grenada 104 GLP|Guadeloupe 105 GUM|Guam 106 GTM|Guatemala 107 GNB|Guinea-Bissau 108 GIN|Guinea 109 GUY|Guyana 110 HTI|Haiti 111 HND|Honduras 112 HKG|Hong Kong 113 HUN|Hungary 114 ISL|Iceland 115 IND|India 116 IDN|Indonesia 117 IRN|Iran (Islamic Republic of) 118 IRQ|Iraq 119 IRL|Ireland 120 IOM|Isle of Man 121 ISR|Israel 122 ITA|Italy 123 JAM|Jamaica 124 JPN|Japan 125 JOR|Jordan 126 KAZ|Kazakhstan 127 KEN|Kenya 128 KIR|Kiribati 129 PRK|Korea, Republic of 130 KOR|Korea, South 131 KWT|Kuwait 132 KGZ|Kyrgyzstan 133 LAO|Lao People's Democratic Republic 134 LVA|Latvia 135 LBN|Lebanon 136 LSO|Lesotho 137 LBR|Liberia 138 LBY|Libyan Arab Jamahiriya 139 LIE|Liechtenstein 140 LTU|Lithuania 141 LUX|Luxembourg 142 MAC|Macao 143 MKD|Macedonia 144 MDG|Madagascar 145 MWI|Malawi 146 MYS|Malaysia 147 MDV|Maldives 148 MLI|Mali 149 MLT|Malta 150 MHL|Marshall Islands 151 MTQ|Martinique 152 MRT|Mauritania 153 MUS|Mauritius 154 MYT|Mayotte 155 MEX|Mexico 156 FSM|Micronesia 157 MCO|Monaco 158 MNG|Mongolia 159 MSR|Montserrat 160 MAR|Morocco 161 MOZ|Mozambique 162 MMR|Myanmar 163 NAM|Namibia 164 NRU|Nauru 165 NPL|Nepal 166 ANT|Netherlands Antilles 167 NLD|Netherlands 168 NCL|New Caledonia 169 NZL|New Zealand 170 NIC|Nicaragua 171 NGA|Nigeria 172 NER|Niger 173 NIU|Niue 174 NFK|Norfolk Island 175 MNP|Northern Mariana Islands 176 NOR|Norway 177 PSE|Occupied Palestinian Territory 178 OMN|Oman 179 PAK|Pakistan 180 PLW|Palau 181 PAN|Panama 182 PNG|Papua New Guinea 183 PRY|Paraguay 184 PER|Peru 185 PHL|Philippines 186 PCN|Pitcairn 187 POL|Poland 188 PRT|Portugal 189 PRI|Puerto Rico 190 QAT|Qatar 191 REU|Réunion 192 MDA|Republic of Moldova 193 ROU|Romania 194 RUS|Russian Federation 195 RWA|Rwanda 196 SHN|Saint Helena 197 KNA|Saint Kitts and Nevis 198 LCA|Saint Lucia 199 SPM|Saint Pierre and Miquelon 200 VCT|Saint Vincent and the Grenadines 201 WSM|Samoa 202 SMR|San Marino 203 STP|Sao Tome and Principe 204 SAU|Saudi Arabia 205 SEN|Senegal 206 SCG|Serbia and Montenegro 207 SYC|Seychelles 208 SLE|Sierra Leone 209 SGP|Singapore 210 SVK|Slovakia 211 SVN|Slovenia 212 SLB|Solomon Islands 213 SOM|Somalia 214 ZAF|South Africa 215 ESP|Spain 216 LKA|Sri Lanka 217 SDN|Sudan 218 SUR|Suriname 219 SJM|Svalbard and Jan Mayen Islands 220 SWZ|Swaziland 221 SWE|Sweden 222 CHE|Switzerland 223 SYR|Syrian Arab Republic 224 TJK|Tajikistan 225 TZA|Tanzania 226 THA|Thailand 227 TLS|Timor-Leste 228 TGO|Togo 229 TKL|Tokelau 230 TON|Tonga 231 TTO|Trinidad and Tobago 232 TUN|Tunisia 233 TUR|Turkey 234 TKM|Turkmenistan 235 TCA|Turks and Caicos Islands 236 TUV|Tuvalu 237 UGA|Uganda 238 UKR|Ukraine 239 ARE|United Arab Emirates 240 GBR|United Kingdom 241 VIR|United States Virgin Islands 242 USA|United States 243 URY|Uruguay 244 UZB|Uzbekista 245 VUT|Vanuatu 246 VAT|Vatican City State (Holy See) 247 VEN|Venezuela 248 VNM|Viet Nam 249 WLF|Wallis and Futuna Islands 250 ESH|Western Sahara 251 YEM|Yemen 252 ZMB|Zambia 253 ZWE|Zimbabwe",array(),'localize/countries')); 254 } 255 256 function all() 257 { 258 $countries_array = array(); 259 foreach (AkCountries::getCountriesDescriptions() as $country_string){ 260 list($code,$country) = explode('|',$country_string); 261 $countries_array[$country] = $code; 262 } 263 return $countries_array; 264 } 265 } 266 267 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Oct 27 12:43:49 2008 | Cross-referenced by PHPXref 0.6 |