PHP Class GDS\Property\Geopoint

Author: Tom Walder ([email protected])
Inheritance: implements ArrayAccess
Mostra file Open project: tomwalder/php-gds

Public Methods

Method Description
__construct ( $latitude, $longitude )
getLatitude ( )
getLongitude ( )
offsetExists ( mixed $offset ) : boolean ArrayAccess
offsetGet ( mixed $offset ) : float ArrayAccess
offsetSet ( mixed $offset, mixed $value ) ArrayAccess
offsetUnset ( mixed $offset ) ArrayAccess
setLatitude ( $latitude )
setLongitude ( $longitude )

Method Details

__construct() public method

public __construct ( $latitude, $longitude )

getLatitude() public method

public getLatitude ( )

getLongitude() public method

public getLongitude ( )

offsetExists() public method

ArrayAccess
public offsetExists ( mixed $offset ) : boolean
$offset mixed
return boolean

offsetGet() public method

ArrayAccess
public offsetGet ( mixed $offset ) : float
$offset mixed
return float

offsetSet() public method

ArrayAccess
public offsetSet ( mixed $offset, mixed $value )
$offset mixed
$value mixed

offsetUnset() public method

ArrayAccess
public offsetUnset ( mixed $offset )
$offset mixed

setLatitude() public method

public setLatitude ( $latitude )

setLongitude() public method

public setLongitude ( $longitude )