PHP Класс Sulu\Bundle\LocationBundle\Geolocator\GeolocatorLocation

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Открытые методы

Метод Описание
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.

Описание методов

getCode() публичный Метод

public getCode ( )

getCountry() публичный Метод

public getCountry ( )

getDisplayTitle() публичный Метод

public getDisplayTitle ( )

getId() публичный Метод

public getId ( )

getLatitude() публичный Метод

public getLatitude ( )

getLongitude() публичный Метод

public getLongitude ( )

getNumber() публичный Метод

public getNumber ( )

getStreet() публичный Метод

public getStreet ( )

getTown() публичный Метод

public getTown ( )

setCode() публичный Метод

public setCode ( $code )

setCountry() публичный Метод

public setCountry ( $country )

setDisplayName() публичный Метод

public setDisplayName ( $displayName )

setDisplayTitle() публичный Метод

public setDisplayTitle ( $displaytitle )

setId() публичный Метод

public setId ( $id )

setLatitude() публичный Метод

public setLatitude ( $latitude )

setLongitude() публичный Метод

public setLongitude ( $longitude )

setName() публичный Метод

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

setNumber() публичный Метод

public setNumber ( $number )

setStreet() публичный Метод

public setStreet ( $street )

setTown() публичный Метод

public setTown ( $town )

toArray() публичный Метод

Serialize the location to an array.
public toArray ( ) : array
Результат array

Описание свойств

$code защищенное свойство

protected string $code
Результат string

$country защищенное свойство

protected string $country
Результат string

$displayTitle защищенное свойство

Title to display.
protected string $displayTitle
Результат string

$id защищенное свойство

ID of this location (according to the geolocation vendor).
protected mixed $id
Результат mixed

$latitude защищенное свойство

protected float $latitude
Результат float

$longitude защищенное свойство

protected float $longitude
Результат float

$number защищенное свойство

protected string $number
Результат string

$street защищенное свойство

protected string $street
Результат string

$town защищенное свойство

protected string $town
Результат string