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

Static Public Member Functions

static cityName ()
 
static streetSuffixWord ()
 
static streetPrefix ()
 
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('%###', '%##', '%#', '%#?', '%', '%?')
 
static $streetPrefix
 
static $streetSuffix
 
static $streetSuffixWord
 
static $postcode = array("####", "####", "####", "0###")
 
static $cityNames
 
static $cityFormats
 
static $kommuneNames
 
static $countyNames
 
static $country
 
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

- 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)
 
- Protected Attributes inherited from Faker\Provider\Base
 $generator
 
 $unique
 

Member Function Documentation

◆ buildingNumber()

static Faker\Provider\nb_NO\Address::buildingNumber ( )
static

Randomly return a building number.

Returns
string

Reimplemented from Faker\Provider\Address.

◆ cityName()

static Faker\Provider\nb_NO\Address::cityName ( )
static

Randomly return a real city name

Returns
string

Member Data Documentation

◆ $addressFormats

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

◆ $cityFormats

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

◆ $cityNames

Faker\Provider\nb_NO\Address::$cityNames
staticprotected
Initial value:
= array(
"Alta", "Arendal", "Askim", "Bergen", "Bodø", "Brekstad", "Brevik", "Brumunddal", "Bryne", "Brønnøysund",
"Drammen", "Drøbak", "Egersund", "Elverum", "Fagernes", "Farsund", "Fauske", "Finnsnes", "Flekkefjord", "Florø",
"Fosnavåg", "Fredrikstad", "Førde", "Gjøvik", "Grimstad", "Halden", "Hamar", "Hammerfest", "Harstad",
"Haugesund", "Hokksund", "Holmestrand", "Honningsvåg", "Horten", "Hønefoss", "Jessheim", "Jørpeland",
"Kirkenes", "Kolvereid", "Kongsberg", "Kongsvinger", "Kopervik", "Kragerø", "Kristiansand", "Kristiansund",
"Langesund", "Larvik", "Leknes", "Levanger", "Lillehammer", "Lillesand", "Lillestrøm", "Lyngdal", "Mandal",
"Mo i Rana", "Moelv", "Molde", "Mosjøen", "Moss", "Mysen", "Måløy", "Namsos", "Narvik", "Notodden", "Odda",
"Orkanger", "Oslo", "Otta", "Porsgrunn", "Risør", "Rjukan", "Røros", "Sandefjord", "Sandnes", "Sandnessjøen",
"Sandvika", "Sarpsborg", "Sauda", "Ski", "Skien", "Skudeneshavn", "Sortland", "Stathelle", "Stavanger",
"Stavern", "Steinkjer", "Stjørdalshalsen", "Stokmarknes", "Stord", "Svelvik", "Svolvær", "Tromsø", "Trondheim",
"Tvedestrand", "Tønsberg", "Ulsteinvik", "Vadsø", "Vardø", "Verdalsøra", "Vinstra", "Åkrehamn", "Ålesund",
"Åndalsnes", "Åsgårdstrand"
)

◆ $country

Faker\Provider\nb_NO\Address::$country
staticprotected
Initial value:
= array(
"Abkhasia", "Afghanistan", "Albania", "Algerie", "Andorra", "Angola", "Antigua og Barbuda", "Argentina",
"Armenia", "Aserbajdsjan", "Australia", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belgia", "Belize",
"Benin", "Bhutan", "Bolivia", "Bosnia-Hercegovina", "Botswana", "Brasil", "Brunei", "Bulgaria", "Burkina Faso",
"Burundi", "Canada", "Chile", "Colombia", "Costa Rica", "Cuba", "Danmark", "De forente arabiske emirater",
"Den demokratiske republikken Kongo", "Den dominikanske republikk", "Den sentralafrikanske republikk",
"Djibouti", "Dominica", "Ecuador", "Egypt", "Ekvatorial-Guinea", "Elfenbenskysten", "El Salvador", "Eritrea",
"Estland", "Etiopia", "Fiji", "Filippinene", "Finland", "Frankrike", "Gabon", "Gambia", "Georgia", "Ghana",
"Grenada", "Guatemala", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Hellas", "Honduras", "Hviterussland",
"India", "Indonesia", "Irak", "Iran", "Irland", "Island", "Israel", "Italia", "Jamaica", "Japan", "Jemen",
"Jordan", "Kambodsja", "Kamerun", "Kapp Verde", "Kasakhstan", "Kenya", "Folkerepublikken Kina", "Kirgisistan",
"Kiribati", "Komorene", "Republikken Kongo", "Kosovo", "Kroatia", "Kuwait", "Kypros", "Laos", "Latvia",
"Lesotho", "Libanon", "Liberia", "Libya", "Liechtenstein", "Litauen", "Luxembourg", "Madagaskar", "Makedonia",
"Malawi", "Malaysia", "Maldivene", "Mali", "Malta", "Marokko", "Marshalløyene", "Mauritania", "Mauritius",
"Mexico", "Mikronesiaføderasjonen", "Moldova", "Monaco", "Mongolia", "Montenegro", "Mosambik", "Myanmar",
"Namibia", "Nauru", "Nederland", "Nepal", "New Zealand", "Nicaragua", "Niger", "Nigeria", "Nord-Korea",
"Nord-Kypros", "Norge", "Oman", "Pakistan", "Palau", "Panama", "Papua Ny-Guinea", "Paraguay", "Peru", "Polen",
"Portugal", "Qatar", "Romania", "Russland", "Rwanda", "Saint Kitts og Nevis", "Saint Lucia",
"Saint Vincent og Grenadinene", "Salomonøyene", "Samoa", "San Marino", "São Tomé og Príncipe", "Saudi-Arabia",
"Senegal", "Serbia", "Seychellene", "Sierra Leone", "Singapore", "Slovakia", "Slovenia", "Somalia", "Spania",
"Sri Lanka", "Storbritannia", "Sudan", "Surinam", "Sveits", "Sverige", "Swaziland", "Syria", "Sør-Afrika",
"Sør-Korea", "Sør-Ossetia", "Sør-Sudan", "Tadsjikistan", "Taiwan", "Tanzania", "Thailand", "Togo", "Tonga",
"Transnistria", "Trinidad og Tobago", "Tsjad", "Tsjekkia", "Tunisia", "Turkmenistan", "Tuvalu", "Tyrkia",
"Tyskland", "Uganda", "USA", "Ukraina", "Ungarn", "Uruguay", "Usbekistan", "Vanuatu", "Vatikanstaten",
"Venezuela", "Vietnam", "Zambia", "Zimbabwe", "Østerrike", "Øst-Timor"
)

◆ $countyNames

Faker\Provider\nb_NO\Address::$countyNames
staticprotected
Initial value:
= array(
"Østfold", "Akershus", "Oslo", "Hedmark", "Oppland", "Buskerud", "Vestfold", "Telemark", "Aust-Agder",
"Vest-Agder", "Rogaland", "Hordaland", "Sogn og Fjordane", "Møre og Romsdal", "Sør-Trøndelag", "Nord-Trøndelag",
"Nordland", "Troms", "Finnmark", "Svalbard", "Jan Mayen", "Kontinentalsokkelen"
)

◆ $streetAddressFormats

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

◆ $streetNameFormats

Faker\Provider\nb_NO\Address::$streetNameFormats
staticprotected
Initial value:
= array(
'{{lastName}}{{streetSuffix}}',
'{{lastName}}{{streetSuffix}}',
'{{firstName}}{{streetSuffix}}',
'{{firstName}}{{streetSuffix}}',
'{{streetPrefix}}{{streetSuffix}}',
'{{streetPrefix}}{{streetSuffix}}',
'{{streetPrefix}}{{streetSuffix}}',
'{{streetPrefix}}{{streetSuffix}}',
'{{lastName}} {{streetSuffixWord}}'
)

◆ $streetPrefix

Faker\Provider\nb_NO\Address::$streetPrefix
staticprotected
Initial value:
= array(
"Øvre", "Nedre", "Søndre", "Gamle", "Østre", "Vestre"
)

◆ $streetSuffix

Faker\Provider\nb_NO\Address::$streetSuffix
staticprotected
Initial value:
= array(
"alléen", "bakken", "berget", "bråten", "eggen", "engen", "ekra", "faret", "flata", "gata", "gjerdet", "grenda",
"gropa", "hagen", "haugen", "havna", "holtet", "høgda", "jordet", "kollen", "kroken", "lia", "lunden", "lyngen",
"løkka", "marka", "moen", "myra", "plassen", "ringen", "roa", "røa", "skogen", "skrenten", "spranget", "stien",
"stranda", "stubben", "stykket", "svingen", "tjernet", "toppen", "tunet", "vollen", "vika", "åsen"
)

◆ $streetSuffixWord

Faker\Provider\nb_NO\Address::$streetSuffixWord
staticprotected
Initial value:
= array(
"sgate", "svei", "s Gate", "s Vei", "gata", "veien"
)

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