Lggr
Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
Faker\Provider\de_CH\Address Class Reference
Inheritance diagram for Faker\Provider\de_CH\Address:
Inheritance graph
[legend]
Collaboration diagram for Faker\Provider\de_CH\Address:
Collaboration graph
[legend]

Public Member Functions

 cityName ()
 
 streetSuffixShort ()
 
 streetSuffixLong ()
 
- Public Member Functions inherited from Faker\Provider\Address
 city ()
 
 streetName ()
 
 streetAddress ()
 
 address ()
 
- Public Member Functions inherited from Faker\Provider\Base
 __construct (Generator $generator)
 
 optional ($weight=0.5, $default=null)
 
 unique ($reset=false, $maxRetries=10000)
 
 valid ($validator=null, $maxRetries=10000)
 

Static Public Member Functions

static canton ()
 
static cantonShort ()
 
static cantonName ()
 
static buildingNumber ()
 
- Static Public Member Functions inherited from Faker\Provider\Address
static citySuffix ()
 
static streetSuffix ()
 
static postcode ()
 
static country ()
 
static latitude ($min=-90, $max=90)
 
static longitude ($min=-180, $max=180)
 
static localCoordinates ()
 
- Static Public Member Functions inherited from Faker\Provider\Base
static randomDigit ()
 
static randomDigitNotNull ()
 
static randomDigitNot ($except)
 
static randomNumber ($nbDigits=null, $strict=false)
 
static randomFloat ($nbMaxDecimals=null, $min=0, $max=null)
 
static numberBetween ($int1=0, $int2=2147483647)
 
static passthrough ($value)
 
static randomLetter ()
 
static randomAscii ()
 
static randomElements ($array=array('a', 'b', 'c'), $count=1, $allowDuplicates=false)
 
static randomElement ($array=array('a', 'b', 'c'))
 
static randomKey ($array=array())
 
static shuffle ($arg='')
 
static shuffleArray ($array=array())
 
static shuffleString ($string='', $encoding='UTF-8')
 
static numerify ($string='###')
 
static lexify ($string='????')
 
static bothify ($string='## ??')
 
static asciify ($string=' ****')
 
static regexify ($regex='')
 
static toLower ($string='')
 
static toUpper ($string='')
 

Static Protected Attributes

static $buildingNumber = array('###', '##', '#', '##[abc]', '#[abc]')
 
static $streetSuffixLong
 
static $streetSuffixShort
 
static $postcode = array('####')
 
static $cityNames
 
static $canton
 
static $country
 
static $cityFormats
 
static $streetNameFormats
 
static $streetAddressFormats
 
static $addressFormats
 
- Static Protected Attributes inherited from Faker\Provider\Address
static $citySuffix = array('Ville')
 
static $streetSuffix = array('Street')
 
static $cityFormats
 
static $streetNameFormats
 
static $streetAddressFormats
 
static $addressFormats
 
static $buildingNumber = array('%#')
 
static $postcode = array('#####')
 
static $country = array()
 

Additional Inherited Members

- Protected Attributes inherited from Faker\Provider\Base
 $generator
 
 $unique
 

Member Function Documentation

◆ cantonName()

static Faker\Provider\de_CH\Address::cantonName ( )
static

Returns the name of canton.

Returns
string

◆ cantonShort()

static Faker\Provider\de_CH\Address::cantonShort ( )
static

Returns the abbreviation of a canton.

Returns
string

Member Data Documentation

◆ $addressFormats

Faker\Provider\de_CH\Address::$addressFormats
staticprotected
Initial value:
= array(
"{{streetAddress}}\n{{postcode}} {{city}}",
)

◆ $canton

Faker\Provider\de_CH\Address::$canton
staticprotected
Initial value:
= array(
array('AG' => 'Aargau'),
array('AI' => 'Appenzell Innerrhoden'),
array('AR' => 'Appenzell Ausserrhoden'),
array('BE' => 'Bern'),
array('BL' => 'Basel-Landschaft'),
array('BS' => 'Basel-Stadt'),
array('FR' => 'Freiburg'),
array('GE' => 'Genf'),
array('GL' => 'Glarus'),
array('GR' => 'Graubünden'),
array('JU' => 'Jura',),
array('LU' => 'Luzern'),
array('NE' => 'Neuenburg'),
array('NW' => 'Nidwalden'),
array('OW' => 'Obwalden'),
array('SG' => 'St. Gallen'),
array('SH' => 'Schaffhausen'),
array('SO' => 'Solothurn'),
array('SZ' => 'Schwyz'),
array('TG' => 'Thurgau'),
array('TI' => 'Tessin'),
array('UR' => 'Uri'),
array('VD' => 'Waadt'),
array('VS' => 'Wallis'),
array('ZG' => 'Zug'),
array('ZH' => 'Zürich')
)

https://de.wikipedia.org/wiki/Kanton_(Schweiz)

◆ $cityFormats

Faker\Provider\de_CH\Address::$cityFormats
staticprotected
Initial value:
= array(
'{{cityName}}',
)

◆ $cityNames

Faker\Provider\de_CH\Address::$cityNames
staticprotected
Initial value:
= array(
'Aarau', 'Aarberg', 'Aarburg', 'Adliswil', 'Aesch', 'Affoltern am Albis', 'Agno', 'Aigle', 'Allschwil', 'Altdorf', 'Altstätten', 'Amriswil', 'Appenzell', 'Arbon', 'Arth', 'Ascona', 'Aubonne', 'Avenches',
'Baar', 'Bad Zurzach', 'Baden', 'Basel', 'Bassersdorf', 'Bellinzona', 'Belp', 'Bern', 'Beromünster', 'Biasca', 'Biel/Bienne', 'Binningen', 'Birsfelden', 'Bischofszell', 'Boudry', 'Bourg-Saint-Pierre', 'Bremgarten', 'Brig-Glis', 'Brig', 'Brugg', 'Buchs', 'Bulle', 'Burgdorf', 'Bülach',
'Carouge', 'Cham', 'Chur', 'Châtel-Saint-Denis', 'Chêne-Bougeries', 'Conthey', 'Coppet', 'Cossonay', 'Croglio', 'Cudrefin', 'Cully',
'Davos', 'Delsberg', 'Diessenhofen', 'Dietikon', 'Dübendorf',
'Ebikon', 'Echallens', 'Ecublens', 'Eglisau', 'Einsiedeln', 'Elgg', 'Emmen', 'Erlach', 'Estavayer-le-Lac',
'Flawil', 'Frauenfeld', 'Freiburg', 'Freienbach', 'Fürstenau',
'Genf', 'Gland', 'Glarus', 'Gordola', 'Gossau', 'Grandcour', 'Grandson', 'Greifensee', 'Grenchen', 'Greyerz', 'Grüningen',
'Herisau', 'Hermance', 'Hinwil', 'Horgen', 'Horw', 'Huttwil',
'Ilanz', 'Illnau-Effretikon', 'Ittigen',
'Kaiserstuhl', 'Klingnau', 'Kloten', 'Kreuzlingen', 'Kriens', 'Köniz', 'Küsnacht',
'La Chaux-de-Fonds', 'La Neuveville', 'La Sarraz', 'La Tour-de-Peilz', 'La Tour-de-Trême', 'Lachen', 'Lancy', 'Langenthal', 'Laufen', 'Laufenburg', 'Laupen', 'Lausanne', 'Le Grand-Saconnex', 'Le Landeron', 'Le Locle', 'Lenzburg', 'Les Clées', 'Leuk', 'Lichtensteig', 'Liestal', 'Locarno', 'Losone', 'Lugano', 'Lutry', 'Luzern', 'Lyss',
'Maienfeld', 'Martigny', 'Meilen', 'Mellingen', 'Mendrisio', 'Meyrin', 'Monthey', 'Montreux', 'Morcote', 'Morges', 'Moudon', 'Moutier', 'Muri bei Bern', 'Murten', 'Muttenz', 'Männedorf', 'Möhlin', 'Münchenstein', 'Münsingen',
'Neuenburg', 'Neuhausen am Rheinfall', 'Neunkirch', 'Nidau', 'Nyon',
'Oberwil', 'Oftringen', 'Olten', 'Onex', 'Opfikon', 'Orbe', 'Orsières', 'Ostermundigen', 'Payerne', 'Pfäffikon', 'Plan-les-Ouates', 'Pratteln', 'Prilly', 'Pruntrut', 'Pully',
'Rapperswil-Jona', 'Regensberg', 'Regensdorf', 'Reinach', 'Renens', 'Rheinau', 'Rheineck', 'Rheinfelden', 'Richterswil', 'Riehen', 'Risch', 'Riva San Vitale', 'Rolle', 'Romainmôtier', 'Romanshorn', 'Romont', 'Rorschach', 'Rue', 'Rüti',
'Saillon', 'Saint-Maurice', 'Saint-Prex', 'Saint-Ursanne', 'Sala', 'Sargans', 'Sarnen', 'Schaffhausen', 'Schlieren', 'Schwyz', 'Sembrancher', 'Sempach', 'Siders', 'Sitten', 'Solothurn', 'Spiez', 'Splügen', 'Spreitenbach', 'St. Gallen', 'Stans', 'Steckborn', 'Steffisburg', 'Stein am Rhein', 'Stäfa', 'Sursee',
'Thalwil', 'Thun', 'Thusis', 'Thônex',
'Unterseen', 'Uster', 'Uznach', 'Uzwil',
'Val-de-Travers NE', 'Valangin', 'Vernier', 'Versoix', 'Vevey', 'Veyrier GE', 'Villars-sur-Glâne', 'Villeneuve', 'Visp', 'Volketswil',
'Waldenburg', 'Walenstadt', 'Wallisellen', 'Wangen an der Aare', 'Weinfelden', 'Werdenberg', 'Wettingen', 'Wetzikon', 'Wiedlisbach', 'Willisau', 'Wil', 'Winterthur', 'Wohlen', 'Worb', 'Wädenswil',
'Yverdon-les-Bains',
'Zofingen', 'Zollikon', 'Zug', 'Zürich'
)

https://de.wikipedia.org/wiki/Liste_der_St%C3%A4dte_in_der_Schweiz

◆ $country

Faker\Provider\de_CH\Address::$country
staticprotected
Initial value:
= array(
'Afghanistan', 'Alandinseln', 'Albanien', 'Algerien', 'Amerikanisch-Ozeanien', 'Amerikanisch-Samoa', 'Amerikanische Jungferninseln', 'Andorra', 'Angola', 'Anguilla', 'Antarktis', 'Antigua und Barbuda', 'Argentinien', 'Armenien', 'Aruba', 'Aserbaidschan', 'Australien', 'Ägypten', 'Äquatorialguinea', 'Äthiopien', 'Äusseres Ozeanien',
'Bahamas', 'Bahrain', 'Bangladesch', 'Barbados', 'Belarus', 'Belgien', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivien', 'Bosnien und Herzegowina', 'Botsuana', 'Bouvetinsel', 'Brasilien', 'Britische Jungferninseln', 'Britisches Territorium im Indischen Ozean', 'Brunei Darussalam', 'Bulgarien', 'Burkina Faso', 'Burundi',
'Chile', 'China', 'Cookinseln', 'Costa Rica', 'Côte d’Ivoire',
'Demokratische Republik Kongo', 'Demokratische Volksrepublik Korea', 'Deutschland', 'Dominica', 'Dominikanische Republik', 'Dschibuti', 'Dänemark',
'Ecuador', 'El Salvador', 'Eritrea', 'Estland', 'Europäische Union',
'Falklandinseln', 'Fidschi', 'Finnland', 'Frankreich', 'Französisch-Guayana', 'Französisch-Polynesien', 'Französische Süd- und Antarktisgebiete', 'Färöer',
'Gabun', 'Gambia', 'Georgien', 'Ghana', 'Gibraltar', 'Grenada', 'Griechenland', 'Grönland', 'Guadeloupe', 'Guam', 'Guatemala', 'Guernsey', 'Guinea', 'Guinea-Bissau', 'Guyana',
'Haiti', 'Heard- und McDonald-Inseln', 'Honduras',
'Indien', 'Indonesien', 'Irak', 'Iran', 'Irland', 'Island', 'Isle of Man', 'Israel', 'Italien',
'Jamaika', 'Japan', 'Jemen', 'Jersey', 'Jordanien',
'Kaimaninseln', 'Kambodscha', 'Kamerun', 'Kanada', 'Kap Verde', 'Kasachstan', 'Katar', 'Kenia', 'Kirgisistan', 'Kiribati', 'Kokosinseln', 'Kolumbien', 'Komoren', 'Kongo', 'Kroatien', 'Kuba', 'Kuwait',
'Laos', 'Lesotho', 'Lettland', 'Libanon', 'Liberia', 'Libyen', 'Liechtenstein', 'Litauen', 'Luxemburg',
'Madagaskar', 'Malawi', 'Malaysia', 'Malediven', 'Mali', 'Malta', 'Marokko', 'Marshallinseln', 'Martinique', 'Mauretanien', 'Mauritius', 'Mayotte', 'Mazedonien', 'Mexiko', 'Mikronesien', 'Monaco', 'Mongolei', 'Montenegro', 'Montserrat', 'Mosambik', 'Myanmar',
'Namibia', 'Nauru', 'Nepal', 'Neukaledonien', 'Neuseeland', 'Nicaragua', 'Niederlande', 'Niederländische Antillen', 'Niger', 'Nigeria', 'Niue', 'Norfolkinsel', 'Norwegen', 'Nördliche Marianen',
'Oman', 'Osttimor', 'Österreich',
'Pakistan', 'Palau', 'Palästinensische Gebiete', 'Panama', 'Papua-Neuguinea', 'Paraguay', 'Peru', 'Philippinen', 'Pitcairn', 'Polen', 'Portugal', 'Puerto Rico',
'Republik Korea', 'Republik Moldau', 'Ruanda', 'Rumänien', 'Russische Föderation', 'Réunion',
'Salomonen', 'Sambia', 'Samoa', 'San Marino', 'Saudi-Arabien', 'Schweden', 'Schweiz', 'Senegal', 'Serbien', 'Serbien und Montenegro', 'Seychellen', 'Sierra Leone', 'Simbabwe', 'Singapur', 'Slowakei', 'Slowenien', 'Somalia', 'Sonderverwaltungszone Hongkong', 'Sonderverwaltungszone Macao', 'Spanien', 'Sri Lanka', 'St. Barthélemy', 'St. Helena', 'St. Kitts und Nevis', 'St. Lucia', 'St. Martin', 'St. Pierre und Miquelon', 'St. Vincent und die Grenadinen', 'Sudan', 'Suriname', 'Svalbard und Jan Mayen', 'Swasiland', 'Syrien', 'São Tomé und Príncipe', 'Südafrika', 'Südgeorgien und die Südlichen Sandwichinseln',
'Tadschikistan', 'Taiwan', 'Tansania', 'Thailand', 'Togo', 'Tokelau', 'Tonga', 'Trinidad und Tobago', 'Tschad', 'Tschechische Republik', 'Tunesien', 'Turkmenistan', 'Turks- und Caicosinseln', 'Tuvalu', 'Türkei',
'Uganda', 'Ukraine', 'Unbekannte oder ungültige Region', 'Ungarn', 'Uruguay', 'Usbekistan',
'Vanuatu', 'Vatikanstadt', 'Venezuela', 'Vereinigte Arabische Emirate', 'Vereinigte Staaten', 'Vereinigtes Königreich', 'Vietnam',
'Wallis und Futuna', 'Weihnachtsinsel', 'Westsahara',
'Zentralafrikanische Republik', 'Zypern',
)

◆ $streetAddressFormats

Faker\Provider\de_CH\Address::$streetAddressFormats
staticprotected
Initial value:
= array(
'{{streetName}} {{buildingNumber}}',
)

◆ $streetNameFormats

Faker\Provider\de_CH\Address::$streetNameFormats
staticprotected
Initial value:
= array(
'{{lastName}}{{streetSuffixShort}}',
'{{cityName}}{{streetSuffixShort}}',
'{{firstName}}-{{lastName}}-{{streetSuffixLong}}'
)

◆ $streetSuffixLong

Faker\Provider\de_CH\Address::$streetSuffixLong
staticprotected
Initial value:
= array(
'Gasse', 'Platz', 'Ring', 'Strasse', 'Weg', 'Allee'
)

◆ $streetSuffixShort

Faker\Provider\de_CH\Address::$streetSuffixShort
staticprotected
Initial value:
= array(
'gasse', 'platz', 'ring', 'strasse', 'str.', 'weg', 'allee'
)

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