PHP Class Sulu\Bundle\LocationBundle\Geolocator\GeolocatorLocation

Afficher le fichier Open project: sulu/sulu Class Usage Examples

Protected Properties

Свойство Type Description
$code string
$country string
$displayTitle string Title to display.
$id mixed ID of this location (according to the geolocation vendor).
$latitude float
$longitude float
$number string
$street string
$town string

Méthodes publiques

Méthode Description
getCode ( )
getCountry ( )
getDisplayTitle ( )
getId ( )
getLatitude ( )
getLongitude ( )
getNumber ( )
getStreet ( )
getTown ( )
setCode ( $code )
setCountry ( $country )
setDisplayName ( $displayName )
setDisplayTitle ( $displaytitle )
setId ( $id )
setLatitude ( $latitude )
setLongitude ( $longitude )
setName ( $name ) This is a hack for the husky component which is now hard coded to use the "name" property.
setNumber ( $number )
setStreet ( $street )
setTown ( $town )
toArray ( ) : array Serialize the location to an array.

Method Details

getCode() public méthode

public getCode ( )

getCountry() public méthode

public getCountry ( )

getDisplayTitle() public méthode

public getDisplayTitle ( )

getId() public méthode

public getId ( )

getLatitude() public méthode

public getLatitude ( )

getLongitude() public méthode

public getLongitude ( )

getNumber() public méthode

public getNumber ( )

getStreet() public méthode

public getStreet ( )

getTown() public méthode

public getTown ( )

setCode() public méthode

public setCode ( $code )

setCountry() public méthode

public setCountry ( $country )

setDisplayName() public méthode

public setDisplayName ( $displayName )

setDisplayTitle() public méthode

public setDisplayTitle ( $displaytitle )

setId() public méthode

public setId ( $id )

setLatitude() public méthode

public setLatitude ( $latitude )

setLongitude() public méthode

public setLongitude ( $longitude )

setName() public méthode

This is a hack for the husky component which is now hard coded to use the "name" property.
public setName ( $name )

setNumber() public méthode

public setNumber ( $number )

setStreet() public méthode

public setStreet ( $street )

setTown() public méthode

public setTown ( $town )

toArray() public méthode

Serialize the location to an array.
public toArray ( ) : array
Résultat array

Property Details

$code protected_oe property

protected string $code
Résultat string

$country protected_oe property

protected string $country
Résultat string

$displayTitle protected_oe property

Title to display.
protected string $displayTitle
Résultat string

$id protected_oe property

ID of this location (according to the geolocation vendor).
protected mixed $id
Résultat mixed

$latitude protected_oe property

protected float $latitude
Résultat float

$longitude protected_oe property

protected float $longitude
Résultat float

$number protected_oe property

protected string $number
Résultat string

$street protected_oe property

protected string $street
Résultat string

$town protected_oe property

protected string $town
Résultat string