Section courante

A propos

Section administrative du site

getCityList

Demande la liste de villes
PHP Zend Framework Zend/Date/Cities.php
  Zend_Date_Cities

Syntaxe

function Zend_Date_Cities::getCityList()

Description

Cette méthode permet de demander la liste des villes reconnu par la classe.

Exemple

Voici un exemple montrant le contenu de cette méthode :

  1. <?php
  2. require "Zend/Date/Cities.php";
  3. echo "Voici la liste des villes:<BR>";
  4. print_r(Zend_Date_Cities::getCityList());
  5. ?>

on obtiendra le résultat suivant :

Voici la liste des villes:
Array ( [0] => Abidjan [1] => Abu Dhabi [2] => Abuja [3] => Accra [4] => Adamstown [5] => Addis Ababa [6] => Adelaide [7] => Algiers [8] => Alofi [9] => Amman [10] => Amsterdam [11] => Andorra la Vella [12] => Ankara [13] => Antananarivo [14] => Apia [15] => Ashgabat [16] => Asmara [17] => Astana [18] => Asunción [19] => Athens [20] => Auckland [21] => Avarua [22] => Baghdad [23] => Baku [24] => Bamako [25] => Bandar Seri Begawan [26] => Bankok [27] => Bangui [28] => Banjul [29] => Basel [30] => Basseterre [31] => Beijing [32] => Beirut [33] => Belgrade [34] => Belmopan [35] => Berlin [36] => Bern [37] => Bishkek [38] => Bissau [39] => Bloemfontein [40] => Bogotá [41] => Brasilia [42] => Bratislava [43] => Brazzaville [44] => Bridgetown [45] => Brisbane [46] => Brussels [47] => Bucharest [48] => Budapest [49] => Buenos Aires [50] => Bujumbura [51] => Cairo [52] => Calgary [53] => Canberra [54] => Cape Town [55] => Caracas [56] => Castries [57] => Charlotte Amalie [58] => Chicago [59] => Chisinau [60] => Cockburn Town [61] => Colombo [62] => Conakry [63] => Copenhagen [64] => Cotonou [65] => Dakar [66] => Damascus [67] => Dar es Salaam [68] => Dhaka [69] => Dili [70] => Djibouti [71] => Dodoma [72] => Doha [73] => Dubai [74] => Dublin [75] => Dushanbe [76] => Fagatogo [77] => Fongafale [78] => Freetown [79] => Gaborone [80] => Geneva [81] => George Town [82] => Georgetown [83] => Gibraltar [84] => Glasgow [85] => Guatemala la Nueva [86] => Hagatna [87] => The Hague [88] => Hamilton [89] => Hanoi [90] => Harare [91] => Havana [92] => Helsinki [93] => Honiara [94] => Islamabad [95] => Istanbul [96] => Jakarta [97] => Jamestown [98] => Jerusalem [99] => Johannesburg [100] => Kabul [101] => Kampala [102] => Kathmandu [103] => Khartoum [104] => Kigali [105] => Kingston [106] => Kingstown [107] => Kinshasa [108] => Kolkata [109] => Kuala Lumpur [110] => Kuwait City [111] => Kiev [112] => La Paz [113] => Libreville [114] => Lilongwe [115] => Lima [116] => Lisbon [117] => Ljubljana [118] => Lobamba [119] => Lomé [120] => London [121] => Los Angeles [122] => Luanda [123] => Lusaka [124] => Luxembourg [125] => Madrid [126] => Majuro [127] => Malabo [128] => Managua [129] => Manama [130] => Manila [131] => Maputo [132] => Maseru [133] => Mbabane [134] => Melbourne [135] => Melekeok [136] => Mexiko City [137] => Minsk [138] => Mogadishu [139] => Monaco [140] => Monrovia [141] => Montevideo [142] => Montreal [143] => Moroni [144] => Moscow [145] => Muscat [146] => Nairobi [147] => Nassau [148] => N´Djamena [149] => New Dehli [150] => New York [151] => Newcastle [152] => Niamey [153] => Nicosia [154] => Nouakchott [155] => Noumea [156] => Nuku´alofa [157] => Nuuk [158] => Oranjestad [159] => Oslo [160] => Ouagadougou [161] => Palikir [162] => Panama City [163] => Papeete [164] => Paramaribo [165] => Paris [166] => Perth [167] => Phnom Penh [168] => Podgorica [169] => Port Louis [170] => Port Moresby [171] => Port-au-Prince [172] => Port of Spain [173] => Porto-Novo [174] => Prague [175] => Praia [176] => Pretoria [177] => Pyongyang [178] => Quito [179] => Rabat [180] => Reykjavik [181] => Riga [182] => Rio de Janero [183] => Road Town [184] => Rome [185] => Roseau [186] => Rotterdam [187] => Salvador [188] => San José [189] => San Juan [190] => San Marino [191] => San Salvador [192] => Sanaá [193] => Santa Cruz [194] => Santiago [195] => Santo Domingo [196] => Sao Paulo [197] => Sarajevo [198] => Seoul [199] => Shanghai [200] => Sydney [201] => Singapore [202] => Skopje [203] => Sofia [204] => St. George´s [205] => St. John´s [206] => Stanley [207] => Stockholm [208] => Suva [209] => Taipei [210] => Tallinn [211] => Tashkent [212] => Tbilisi [213] => Tegucigalpa [214] => Tehran [215] => Thimphu [216] => Tirana [217] => Tiraspol [218] => Tokyo [219] => Toronto [220] => Tórshavn [221] => Tripoli [222] => Tunis [223] => Ulaanbaatar [224] => Vaduz [225] => Valletta [226] => Valparaiso [227] => Vancouver [228] => Vatican City [229] => Victoria [230] => Vienna [231] => Vientaine [232] => Vilnius [233] => Warsaw [234] => Washington dc [235] => Wellington [236] => Willemstad [237] => Windhoek [238] => Yamoussoukro [239] => Yaoundé [240] => Yerevan [241] => Zürich [242] => Zagreb )


Dernière mise à jour : Jeudi, le 31 décembre 2015