1
0
mirror of synced 2024-12-15 15:46:02 +03:00
This commit is contained in:
zYne 2007-01-25 23:05:26 +00:00
parent 9d5640040d
commit e4ad2f70ae

View File

@ -33,249 +33,249 @@
class Doctrine_Validator_Country class Doctrine_Validator_Country
{ {
private static $countries = array( private static $countries = array(
"ad" => "Andorra", 'ad' => 'Andorra',
"ae" => "United Arab Emirates", 'ae' => 'United Arab Emirates',
"af" => "Afghanistan", 'af' => 'Afghanistan',
"ag" => "Antigua and Barbuda", 'ag' => 'Antigua and Barbuda',
"ai" => "Anguilla", 'ai' => 'Anguilla',
"al" => "Albania", 'al' => 'Albania',
"am" => "Armenia", 'am' => 'Armenia',
"an" => "Netherlands Antilles", 'an' => 'Netherlands Antilles',
"ao" => "Angola", 'ao' => 'Angola',
"aq" => "Antarctica", 'aq' => 'Antarctica',
"ar" => "Argentina", 'ar' => 'Argentina',
"as" => "American Samoa", 'as' => 'American Samoa',
"at" => "Austria", 'at' => 'Austria',
"au" => "Australia", 'au' => 'Australia',
"aw" => "Aruba", 'aw' => 'Aruba',
"az" => "Azerbaijan", 'az' => 'Azerbaijan',
"ba" => "Bosnia Hercegovina", 'ba' => 'Bosnia Hercegovina',
"bb" => "Barbados", 'bb' => 'Barbados',
"bd" => "Bangladesh", 'bd' => 'Bangladesh',
"be" => "Belgium", 'be' => 'Belgium',
"bf" => "Burkina Faso", 'bf' => 'Burkina Faso',
"bg" => "Bulgaria", 'bg' => 'Bulgaria',
"bh" => "Bahrain", 'bh' => 'Bahrain',
"bi" => "Burundi", 'bi' => 'Burundi',
"bj" => "Benin", 'bj' => 'Benin',
"bm" => "Bermuda", 'bm' => 'Bermuda',
"bn" => "Brunei Darussalam", 'bn' => 'Brunei Darussalam',
"bo" => "Bolivia", 'bo' => 'Bolivia',
"br" => "Brazil", 'br' => 'Brazil',
"bs" => "Bahamas", 'bs' => 'Bahamas',
"bt" => "Bhutan", 'bt' => 'Bhutan',
"bv" => "Bouvet Island", 'bv' => 'Bouvet Island',
"bw" => "Botswana", 'bw' => 'Botswana',
"by" => "Belarus (Byelorussia)", 'by' => 'Belarus (Byelorussia)',
"bz" => "Belize", 'bz' => 'Belize',
"ca" => "Canada", 'ca' => 'Canada',
"cc" => "Cocos Islands", 'cc' => 'Cocos Islands',
"cd" => 'Congo, The Democratic Republic of the', 'cd' => 'Congo, The Democratic Republic of the',
"cf" => "Central African Republic", 'cf' => 'Central African Republic',
"cg" => "Congo", 'cg' => 'Congo',
"ch" => "Switzerland", 'ch' => 'Switzerland',
"ci" => "Ivory Coast", 'ci' => 'Ivory Coast',
"ck" => "Cook Islands", 'ck' => 'Cook Islands',
"cl" => "Chile", 'cl' => 'Chile',
"cm" => "Cameroon", 'cm' => 'Cameroon',
"cn" => "China", 'cn' => 'China',
"co" => "Colombia", 'co' => 'Colombia',
"cr" => "Costa Rica", 'cr' => 'Costa Rica',
"cs" => "Czechoslovakia", 'cs' => 'Czechoslovakia',
"cu" => "Cuba", 'cu' => 'Cuba',
"cv" => "Cape Verde", 'cv' => 'Cape Verde',
"cx" => "Christmas Island", 'cx' => 'Christmas Island',
"cy" => "Cyprus", 'cy' => 'Cyprus',
"cz" => 'Czech Republic', 'cz' => 'Czech Republic',
"de" => "Germany", 'de' => 'Germany',
"dj" => "Djibouti", 'dj' => 'Djibouti',
"dk" => 'Denmark', 'dk' => 'Denmark',
"dm" => "Dominica", 'dm' => 'Dominica',
"do" => "Dominican Republic", 'do' => 'Dominican Republic',
"dz" => "Algeria", 'dz' => 'Algeria',
"ec" => "Ecuador", 'ec' => 'Ecuador',
"ee" => "Estonia", 'ee' => 'Estonia',
"eg" => "Egypt", 'eg' => 'Egypt',
"eh" => "Western Sahara", 'eh' => 'Western Sahara',
"er" => 'Eritrea', 'er' => 'Eritrea',
"es" => "Spain", 'es' => 'Spain',
"et" => "Ethiopia", 'et' => 'Ethiopia',
"fi" => "Finland", 'fi' => 'Finland',
"fj" => "Fiji", 'fj' => 'Fiji',
"fk" => "Falkland Islands", 'fk' => 'Falkland Islands',
"fm" => "Micronesia", 'fm' => 'Micronesia',
"fo" => "Faroe Islands", 'fo' => 'Faroe Islands',
"fr" => "France", 'fr' => 'France',
"fx" => 'France, Metropolitan FX', 'fx' => 'France, Metropolitan FX',
"ga" => "Gabon", 'ga' => 'Gabon',
"gb" => 'United Kingdom (Great Britain)', 'gb' => 'United Kingdom (Great Britain)',
"gd" => "Grenada", 'gd' => 'Grenada',
"ge" => "Georgia", 'ge' => 'Georgia',
"gf" => "French Guiana", 'gf' => 'French Guiana',
"gh" => "Ghana", 'gh' => 'Ghana',
"gi" => "Gibraltar", 'gi' => 'Gibraltar',
"gl" => "Greenland", 'gl' => 'Greenland',
"gm" => "Gambia", 'gm' => 'Gambia',
"gn" => "Guinea", 'gn' => 'Guinea',
"gp" => "Guadeloupe", 'gp' => 'Guadeloupe',
"gq" => "Equatorial Guinea", 'gq' => 'Equatorial Guinea',
"gr" => "Greece", 'gr' => 'Greece',
"gs" => 'South Georgia and the South Sandwich Islands', 'gs' => 'South Georgia and the South Sandwich Islands',
"gt" => "Guatemala", 'gt' => 'Guatemala',
"gu" => "Guam", 'gu' => 'Guam',
"gw" => "Guinea-bissau", 'gw' => 'Guinea-bissau',
"gy" => "Guyana", 'gy' => 'Guyana',
"hk" => "Hong Kong", 'hk' => 'Hong Kong',
"hm" => "Heard and McDonald Islands", 'hm' => 'Heard and McDonald Islands',
"hn" => "Honduras", 'hn' => 'Honduras',
"hr" => "Croatia", 'hr' => 'Croatia',
"ht" => "Haiti", 'ht' => 'Haiti',
"hu" => "Hungary", 'hu' => 'Hungary',
"id" => "Indonesia", 'id' => 'Indonesia',
"ie" => "Ireland", 'ie' => 'Ireland',
"il" => "Israel", 'il' => 'Israel',
"in" => "India", 'in' => 'India',
"io" => "British Indian Ocean Territory", 'io' => 'British Indian Ocean Territory',
"iq" => "Iraq", 'iq' => 'Iraq',
"ir" => "Iran", 'ir' => 'Iran',
"is" => "Iceland", 'is' => 'Iceland',
"it" => "Italy", 'it' => 'Italy',
"jm" => "Jamaica", 'jm' => 'Jamaica',
"jo" => "Jordan", 'jo' => 'Jordan',
"jp" => "Japan", 'jp' => 'Japan',
"ke" => "Kenya", 'ke' => 'Kenya',
"kg" => "Kyrgyzstan", 'kg' => 'Kyrgyzstan',
"kh" => "Cambodia", 'kh' => 'Cambodia',
"ki" => "Kiribati", 'ki' => 'Kiribati',
"km" => "Comoros", 'km' => 'Comoros',
"kn" => "Saint Kitts and Nevis", 'kn' => 'Saint Kitts and Nevis',
"kp" => "North Korea", 'kp' => 'North Korea',
"kr" => "South Korea", 'kr' => 'South Korea',
"kw" => "Kuwait", 'kw' => 'Kuwait',
"ky" => "Cayman Islands", 'ky' => 'Cayman Islands',
"kz" => "Kazakhstan", 'kz' => 'Kazakhstan',
"la" => "Laos", 'la' => 'Laos',
"lb" => "Lebanon", 'lb' => 'Lebanon',
"lc" => "Saint Lucia", 'lc' => 'Saint Lucia',
"li" => "Lichtenstein", 'li' => 'Lichtenstein',
"lk" => "Sri Lanka", 'lk' => 'Sri Lanka',
"lr" => "Liberia", 'lr' => 'Liberia',
"ls" => "Lesotho", 'ls' => 'Lesotho',
"lt" => "Lithuania", 'lt' => 'Lithuania',
"lu" => "Luxembourg", 'lu' => 'Luxembourg',
"lv" => "Latvia", 'lv' => 'Latvia',
"ly" => "Libya", 'ly' => 'Libya',
"ma" => "Morocco", 'ma' => 'Morocco',
"mc" => "Monaco", 'mc' => 'Monaco',
"md" => "Moldova Republic", 'md' => 'Moldova Republic',
"mg" => "Madagascar", 'mg' => 'Madagascar',
"mh" => "Marshall Islands", 'mh' => 'Marshall Islands',
"mk" => 'Macedonia, The Former Yugoslav Republic of', 'mk' => 'Macedonia, The Former Yugoslav Republic of',
"ml" => "Mali", 'ml' => 'Mali',
"mm" => "Myanmar", 'mm' => 'Myanmar',
"mn" => "Mongolia", 'mn' => 'Mongolia',
"mo" => "Macau", 'mo' => 'Macau',
"mp" => "Northern Mariana Islands", 'mp' => 'Northern Mariana Islands',
"mq" => "Martinique", 'mq' => 'Martinique',
"mr" => "Mauritania", 'mr' => 'Mauritania',
"ms" => "Montserrat", 'ms' => 'Montserrat',
"mt" => "Malta", 'mt' => 'Malta',
"mu" => "Mauritius", 'mu' => 'Mauritius',
"mv" => "Maldives", 'mv' => 'Maldives',
"mw" => "Malawi", 'mw' => 'Malawi',
"mx" => "Mexico", 'mx' => 'Mexico',
"my" => "Malaysia", 'my' => 'Malaysia',
"mz" => "Mozambique", 'mz' => 'Mozambique',
"na" => "Namibia", 'na' => 'Namibia',
"nc" => "New Caledonia", 'nc' => 'New Caledonia',
"ne" => "Niger", 'ne' => 'Niger',
"nf" => "Norfolk Island", 'nf' => 'Norfolk Island',
"ng" => "Nigeria", 'ng' => 'Nigeria',
"ni" => "Nicaragua", 'ni' => 'Nicaragua',
"nl" => "Netherlands", 'nl' => 'Netherlands',
"no" => "Norway", 'no' => 'Norway',
"np" => "Nepal", 'np' => 'Nepal',
"nr" => "Nauru", 'nr' => 'Nauru',
"nt" => "Neutral Zone", 'nt' => 'Neutral Zone',
"nu" => "Niue", 'nu' => 'Niue',
"nz" => "New Zealand", 'nz' => 'New Zealand',
"om" => "Oman", 'om' => 'Oman',
"pa" => "Panama", 'pa' => 'Panama',
"pe" => "Peru", 'pe' => 'Peru',
"pf" => "French Polynesia", 'pf' => 'French Polynesia',
"pg" => "Papua New Guinea", 'pg' => 'Papua New Guinea',
"ph" => "Philippines", 'ph' => 'Philippines',
"pk" => "Pakistan", 'pk' => 'Pakistan',
"pl" => "Poland", 'pl' => 'Poland',
"pm" => "St. Pierre and Miquelon", 'pm' => 'St. Pierre and Miquelon',
"pn" => "Pitcairn", 'pn' => 'Pitcairn',
"pr" => "Puerto Rico", 'pr' => 'Puerto Rico',
"pt" => "Portugal", 'pt' => 'Portugal',
"pw" => "Palau", 'pw' => 'Palau',
"py" => "Paraguay", 'py' => 'Paraguay',
"qa" => 'Qatar', 'qa' => 'Qatar',
"re" => "Reunion", 're' => 'Reunion',
"ro" => "Romania", 'ro' => 'Romania',
"ru" => "Russia", 'ru' => 'Russia',
"rw" => "Rwanda", 'rw' => 'Rwanda',
"sa" => "Saudi Arabia", 'sa' => 'Saudi Arabia',
"sb" => "Solomon Islands", 'sb' => 'Solomon Islands',
"sc" => "Seychelles", 'sc' => 'Seychelles',
"sd" => "Sudan", 'sd' => 'Sudan',
"se" => "Sweden", 'se' => 'Sweden',
"sg" => "Singapore", 'sg' => 'Singapore',
"sh" => "St. Helena", 'sh' => 'St. Helena',
"si" => "Slovenia", 'si' => 'Slovenia',
"sj" => "Svalbard and Jan Mayen Islands", 'sj' => 'Svalbard and Jan Mayen Islands',
"sk" => 'Slovakia (Slovak Republic)', 'sk' => 'Slovakia (Slovak Republic)',
"sl" => "Sierra Leone", 'sl' => 'Sierra Leone',
"sm" => "San Marino", 'sm' => 'San Marino',
"sn" => "Senegal", 'sn' => 'Senegal',
"so" => "Somalia", 'so' => 'Somalia',
"sr" => "Suriname", 'sr' => 'Suriname',
"st" => "Sao Tome and Principe", 'st' => 'Sao Tome and Principe',
"sv" => "El Salvador", 'sv' => 'El Salvador',
"sy" => "Syria", 'sy' => 'Syria',
"sz" => "Swaziland", 'sz' => 'Swaziland',
"tc" => "Turks and Caicos Islands", 'tc' => 'Turks and Caicos Islands',
"td" => "Chad", 'td' => 'Chad',
"tf" => "French Southern Territories", 'tf' => 'French Southern Territories',
"tg" => "Togo", 'tg' => 'Togo',
"th" => "Thailand", 'th' => 'Thailand',
"tj" => "Tajikistan", 'tj' => 'Tajikistan',
"tk" => "Tokelau", 'tk' => 'Tokelau',
"tm" => "Turkmenistan", 'tm' => 'Turkmenistan',
"tn" => "Tunisia", 'tn' => 'Tunisia',
"to" => "Tonga", 'to' => 'Tonga',
"tp" => "East Timor", 'tp' => 'East Timor',
"tr" => "Turkey", 'tr' => 'Turkey',
"tt" => "Trinidad, Tobago", 'tt' => 'Trinidad, Tobago',
"tv" => "Tuvalu", 'tv' => 'Tuvalu',
"tw" => "Taiwan", 'tw' => 'Taiwan',
"tz" => "Tanzania", 'tz' => 'Tanzania',
"ua" => "Ukraine", 'ua' => 'Ukraine',
"ug" => "Uganda", 'ug' => 'Uganda',
"uk" => "United Kingdom", 'uk' => 'United Kingdom',
"um" => "United States Minor Islands", 'um' => 'United States Minor Islands',
"us" => "United States of America", 'us' => 'United States of America',
"uy" => "Uruguay", 'uy' => 'Uruguay',
"uz" => "Uzbekistan", 'uz' => 'Uzbekistan',
"va" => "Vatican City", 'va' => 'Vatican City',
"vc" => "Saint Vincent, Grenadines", 'vc' => 'Saint Vincent, Grenadines',
"ve" => "Venezuela", 've' => 'Venezuela',
"vg" => "Virgin Islands (British)", 'vg' => 'Virgin Islands (British)',
"vi" => "Virgin Islands (USA)", 'vi' => 'Virgin Islands (USA)',
"vn" => "Viet Nam", 'vn' => 'Viet Nam',
"vu" => "Vanuatu", 'vu' => 'Vanuatu',
"wf" => 'Wallis and Futuna Islands', 'wf' => 'Wallis and Futuna Islands',
"ws" => "Samoa", 'ws' => 'Samoa',
"ye" => 'Yemen', 'ye' => 'Yemen',
"yt" => 'Mayotte', 'yt' => 'Mayotte',
"yu" => "Yugoslavia", 'yu' => 'Yugoslavia',
"za" => "South Africa", 'za' => 'South Africa',
"zm" => "Zambia", 'zm' => 'Zambia',
"zr" => "Zaire", 'zr' => 'Zaire',
"zw" => "Zimbabwe"); 'zw' => 'Zimbabwe');
/** /**
* @return array * @return array
*/ */