ILIAS  trunk Revision v11.0_alpha-1811-gd2d5443e411
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilCountry Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilCountry:

Static Public Member Functions

static getCountryCodes ()
 Get country codes (DIN EN 3166-1) More...
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Country utility class

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e

Definition at line 23 of file class.ilCountry.php.

Member Function Documentation

◆ getCountryCodes()

static ilCountry::getCountryCodes ( )
static

Get country codes (DIN EN 3166-1)

Returns
string[] array of country codes

Definition at line 29 of file class.ilCountry.php.

Referenced by ilUserSearchOptions\_getSearchableFieldsInfo(), ILIAS\LegalDocuments\Condition\Definition\UserCountryDefinition\formGroup(), ilCountrySelectInputGUI\getOptions(), ilTrSummaryTableGUI\getSelCountryCodes(), and ilTrObjectUsersPropsTableGUI\initFilter().

29  : array
30  {
31  $cntcodes = [
32  "AD", "AE", "AF", "AG", "AI", "AL", "AM", "AN",
33  "AO", "AQ", "AR", "AS", "AT", "AU", "AW", "AX",
34  "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH",
35  "BI", "BJ", "BL", "BM", "BN", "BO", "BR", "BS",
36  "BT", "BV", "BW", "BY", "BZ", "CA", "CC", "CF",
37  "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO",
38  "CR", "CU", "CV", "CX", "CY", "CZ", "DE", "DJ",
39  "DK", "DM", "DO", "DZ", "EC", "EE", "EG", "EH",
40  "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO",
41  "FR", "FX", "GA", "GB", "GD", "GE", "GF", "GG",
42  "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR",
43  "GS", "GT", "GU", "GW", "GY", "HK", "HM", "HN",
44  "HR", "HT", "HU", "ID", "IE", "IL", "IM", "IN",
45  "IO", "IQ", "IR", "IS", "IT", "JE", "JM", "JO",
46  "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP",
47  "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI",
48  "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA",
49  "MC", "MD", "ME", "MF", "MG", "MH", "MK", "ML",
50  "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT",
51  "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC",
52  "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR",
53  "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH",
54  "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW",
55  "PY", "QA", "RE", "RO", "RS", "RU", "RW", "SA",
56  "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ",
57  "SK", "SL", "SM", "SN", "SO", "SR", "ST", "SV",
58  "SY", "SZ", "TC", "TD", "TF", "TG", "TH", "TJ",
59  "TK", "TL", "TM", "TN", "TO", "TR", "TT", "TV",
60  "TW", "TZ", "UA", "UG", "UM", "US", "UY", "UZ",
61  "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF",
62  "WS", "YE", "YT", "ZA", "ZM", "ZW", "XK"];
63  return $cntcodes;
64  }
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: