| 1 |
<?php |
| 2 |
class Element_Country extends Element_Select { |
| 3 |
public function __construct($label, $name, array $properties = null) { |
| 4 |
$options = array( |
| 5 |
"" => "--Select Country--", |
| 6 |
"US" => "United States", |
| 7 |
"AF" => "Afghanistan", |
| 8 |
"AX" => "Aland Islands", |
| 9 |
"AL" => "Albania", |
| 10 |
"DZ" => "Algeria", |
| 11 |
"AS" => "American Samoa", |
| 12 |
"AD" => "Andorra", |
| 13 |
"AO" => "Angola", |
| 14 |
"AI" => "Anguilla", |
| 15 |
"AQ" => "Antarctica", |
| 16 |
"AG" => "Antigua and Barbuda", |
| 17 |
"AR" => "Argentina", |
| 18 |
"AM" => "Armenia", |
| 19 |
"AW" => "Aruba", |
| 20 |
"AU" => "Australia", |
| 21 |
"AT" => "Austria", |
| 22 |
"AZ" => "Azerbaijan", |
| 23 |
"BS" => "Bahamas, The", |
| 24 |
"BH" => "Bahrain", |
| 25 |
"BD" => "Bangladesh", |
| 26 |
"BB" => "Barbados", |
| 27 |
"BY" => "Belarus", |
| 28 |
"BE" => "Belgium", |
| 29 |
"BZ" => "Belize", |
| 30 |
"BJ" => "Benin", |
| 31 |
"BM" => "Bermuda", |
| 32 |
"BT" => "Bhutan", |
| 33 |
"BO" => "Bolivia", |
| 34 |
"BA" => "Bosnia and Herzegovina", |
| 35 |
"BW" => "Botswana", |
| 36 |
"BV" => "Bouvet Island", |
| 37 |
"BR" => "Brazil", |
| 38 |
"IO" => "British Indian Ocean Territory", |
| 39 |
"BN" => "Brunei Darussalam", |
| 40 |
"BG" => "Bulgaria", |
| 41 |
"BF" => "Burkina Faso", |
| 42 |
"BI" => "Burundi", |
| 43 |
"KH" => "Cambodia", |
| 44 |
"CM" => "Cameroon", |
| 45 |
"CA" => "Canada", |
| 46 |
"CV" => "Cape Verde", |
| 47 |
"KY" => "Cayman Islands", |
| 48 |
"CF" => "Central African Republic", |
| 49 |
"TD" => "Chad", |
| 50 |
"CL" => "Chile", |
| 51 |
"CN" => "China", |
| 52 |
"CX" => "Christmas Island", |
| 53 |
"CC" => "Cocos (Keeling) Islands", |
| 54 |
"CO" => "Colombia", |
| 55 |
"KM" => "Comoros", |
| 56 |
"CG" => "Congo", |
| 57 |
"CD" => "Congo, The Democratic Republic Of The", |
| 58 |
"CK" => "Cook Islands", |
| 59 |
"CR" => "Costa Rica", |
| 60 |
"CI" => "Cote D'ivoire", |
| 61 |
"HR" => "Croatia", |
| 62 |
"CY" => "Cyprus", |
| 63 |
"CZ" => "Czech Republic", |
| 64 |
"DK" => "Denmark", |
| 65 |
"DJ" => "Djibouti", |
| 66 |
"DM" => "Dominica", |
| 67 |
"DO" => "Dominican Republic", |
| 68 |
"EC" => "Ecuador", |
| 69 |
"EG" => "Egypt", |
| 70 |
"SV" => "El Salvador", |
| 71 |
"GQ" => "Equatorial Guinea", |
| 72 |
"ER" => "Eritrea", |
| 73 |
"EE" => "Estonia", |
| 74 |
"ET" => "Ethiopia", |
| 75 |
"FK" => "Falkland Islands (Malvinas)", |
| 76 |
"FO" => "Faroe Islands", |
| 77 |
"FJ" => "Fiji", |
| 78 |
"FI" => "Finland", |
| 79 |
"FR" => "France", |
| 80 |
"GF" => "French Guiana", |
| 81 |
"PF" => "French Polynesia", |
| 82 |
"TF" => "French Southern Territories", |
| 83 |
"GA" => "Gabon", |
| 84 |
"GM" => "Gambia, The", |
| 85 |
"GE" => "Georgia", |
| 86 |
"DE" => "Germany", |
| 87 |
"GH" => "Ghana", |
| 88 |
"GI" => "Gibraltar", |
| 89 |
"GR" => "Greece", |
| 90 |
"GL" => "Greenland", |
| 91 |
"GD" => "Grenada", |
| 92 |
"GP" => "Guadeloupe", |
| 93 |
"GU" => "Guam", |
| 94 |
"GT" => "Guatemala", |
| 95 |
"GG" => "Guernsey", |
| 96 |
"GN" => "Guinea", |
| 97 |
"GW" => "Guinea-Bissau", |
| 98 |
"GY" => "Guyana", |
| 99 |
"HT" => "Haiti", |
| 100 |
"HM" => "Heard Island and the McDonald Islands", |
| 101 |
"VA" => "Holy See", |
| 102 |
"HN" => "Honduras", |
| 103 |
"HK" => "Hong Kong", |
| 104 |
"HU" => "Hungary", |
| 105 |
"IS" => "Iceland", |
| 106 |
"IN" => "India", |
| 107 |
"ID" => "Indonesia", |
| 108 |
"IQ" => "Iraq", |
| 109 |
"IE" => "Ireland", |
| 110 |
"IM" => "Isle Of Man", |
| 111 |
"IL" => "Israel", |
| 112 |
"IT" => "Italy", |
| 113 |
"JM" => "Jamaica", |
| 114 |
"JP" => "Japan", |
| 115 |
"JE" => "Jersey", |
| 116 |
"JO" => "Jordan", |
| 117 |
"KZ" => "Kazakhstan", |
| 118 |
"KE" => "Kenya", |
| 119 |
"KI" => "Kiribati", |
| 120 |
"KR" => "Korea, Republic Of", |
| 121 |
"KW" => "Kuwait", |
| 122 |
"KG" => "Kyrgyzstan", |
| 123 |
"LA" => "Lao People's Democratic Republic", |
| 124 |
"LV" => "Latvia", |
| 125 |
"LB" => "Lebanon", |
| 126 |
"LS" => "Lesotho", |
| 127 |
"LR" => "Liberia", |
| 128 |
"LY" => "Libya", |
| 129 |
"LI" => "Liechtenstein", |
| 130 |
"LT" => "Lithuania", |
| 131 |
"LU" => "Luxembourg", |
| 132 |
"MO" => "Macao", |
| 133 |
"MK" => "Macedonia, The Former Yugoslav Republic Of", |
| 134 |
"MG" => "Madagascar", |
| 135 |
"MW" => "Malawi", |
| 136 |
"MY" => "Malaysia", |
| 137 |
"MV" => "Maldives", |
| 138 |
"ML" => "Mali", |
| 139 |
"MT" => "Malta", |
| 140 |
"MH" => "Marshall Islands", |
| 141 |
"MQ" => "Martinique", |
| 142 |
"MR" => "Mauritania", |
| 143 |
"MU" => "Mauritius", |
| 144 |
"YT" => "Mayotte", |
| 145 |
"MX" => "Mexico", |
| 146 |
"FM" => "Micronesia, Federated States Of", |
| 147 |
"MD" => "Moldova, Republic Of", |
| 148 |
"MC" => "Monaco", |
| 149 |
"MN" => "Mongolia", |
| 150 |
"ME" => "Montenegro", |
| 151 |
"MS" => "Montserrat", |
| 152 |
"MA" => "Morocco", |
| 153 |
"MZ" => "Mozambique", |
| 154 |
"MM" => "Myanmar", |
| 155 |
"NA" => "Namibia", |
| 156 |
"NR" => "Nauru", |
| 157 |
"NP" => "Nepal", |
| 158 |
"NL" => "Netherlands", |
| 159 |
"AN" => "Netherlands Antilles", |
| 160 |
"NC" => "New Caledonia", |
| 161 |
"NZ" => "New Zealand", |
| 162 |
"NI" => "Nicaragua", |
| 163 |
"NE" => "Niger", |
| 164 |
"NG" => "Nigeria", |
| 165 |
"NU" => "Niue", |
| 166 |
"NF" => "Norfolk Island", |
| 167 |
"MP" => "Northern Mariana Islands", |
| 168 |
"NO" => "Norway", |
| 169 |
"OM" => "Oman", |
| 170 |
"PK" => "Pakistan", |
| 171 |
"PW" => "Palau", |
| 172 |
"PS" => "Palestinian Territories", |
| 173 |
"PA" => "Panama", |
| 174 |
"PG" => "Papua New Guinea", |
| 175 |
"PY" => "Paraguay", |
| 176 |
"PE" => "Peru", |
| 177 |
"PH" => "Philippines", |
| 178 |
"PN" => "Pitcairn", |
| 179 |
"PL" => "Poland", |
| 180 |
"PT" => "Portugal", |
| 181 |
"PR" => "Puerto Rico", |
| 182 |
"QA" => "Qatar", |
| 183 |
"RE" => "Reunion", |
| 184 |
"RO" => "Romania", |
| 185 |
"RU" => "Russian Federation", |
| 186 |
"RW" => "Rwanda", |
| 187 |
"BL" => "Saint Barthelemy", |
| 188 |
"SH" => "Saint Helena", |
| 189 |
"KN" => "Saint Kitts and Nevis", |
| 190 |
"LC" => "Saint Lucia", |
| 191 |
"MF" => "Saint Martin", |
| 192 |
"PM" => "Saint Pierre and Miquelon", |
| 193 |
"VC" => "Saint Vincent and The Grenadines", |
| 194 |
"WS" => "Samoa", |
| 195 |
"SM" => "San Marino", |
| 196 |
"ST" => "Sao Tome and Principe", |
| 197 |
"SA" => "Saudi Arabia", |
| 198 |
"SN" => "Senegal", |
| 199 |
"RS" => "Serbia", |
| 200 |
"SC" => "Seychelles", |
| 201 |
"SL" => "Sierra Leone", |
| 202 |
"SG" => "Singapore", |
| 203 |
"SK" => "Slovakia", |
| 204 |
"SI" => "Slovenia", |
| 205 |
"SB" => "Solomon Islands", |
| 206 |
"SO" => "Somalia", |
| 207 |
"ZA" => "South Africa", |
| 208 |
"GS" => "South Georgia and the South Sandwich Islands", |
| 209 |
"ES" => "Spain", |
| 210 |
"LK" => "Sri Lanka", |
| 211 |
"SR" => "Suriname", |
| 212 |
"SJ" => "Svalbard and Jan Mayen", |
| 213 |
"SZ" => "Swaziland", |
| 214 |
"SE" => "Sweden", |
| 215 |
"CH" => "Switzerland", |
| 216 |
"TW" => "Taiwan", |
| 217 |
"TJ" => "Tajikistan", |
| 218 |
"TZ" => "Tanzania, United Republic Of", |
| 219 |
"TH" => "Thailand", |
| 220 |
"TL" => "Timor-leste", |
| 221 |
"TG" => "Togo", |
| 222 |
"TK" => "Tokelau", |
| 223 |
"TO" => "Tonga", |
| 224 |
"TT" => "Trinidad and Tobago", |
| 225 |
"TN" => "Tunisia", |
| 226 |
"TR" => "Turkey", |
| 227 |
"TM" => "Turkmenistan", |
| 228 |
"TC" => "Turks and Caicos Islands", |
| 229 |
"TV" => "Tuvalu", |
| 230 |
"UG" => "Uganda", |
| 231 |
"UA" => "Ukraine", |
| 232 |
"AE" => "United Arab Emirates", |
| 233 |
"GB" => "United Kingdom", |
| 234 |
"UM" => "United States Minor Outlying Islands", |
| 235 |
"UY" => "Uruguay", |
| 236 |
"UZ" => "Uzbekistan", |
| 237 |
"VU" => "Vanuatu", |
| 238 |
"VE" => "Venezuela", |
| 239 |
"VN" => "Vietnam", |
| 240 |
"VG" => "Virgin Islands, British", |
| 241 |
"VI" => "Virgin Islands, U.S.", |
| 242 |
"WF" => "Wallis and Futuna", |
| 243 |
"EH" => "Western Sahara", |
| 244 |
"YE" => "Yemen", |
| 245 |
"ZM" => "Zambia", |
| 246 |
"ZW" => "Zimbabwe" |
| 247 |
); |
| 248 |
parent::__construct($label, $name, $options, $properties); |
| 249 |
} |
| 250 |
} |
| 251 |
|