Bånder

GeoField extends Field
in package

Table of Contents

Constants

ALLOWED_UNITS  = ['m', 'km', 'mi', 'ft']

Properties

$fieldName  : string
$latitude  : float
$longitude  : float
$radius  : float
$unit  : string

Methods

__construct()  : mixed
__toString()  : string

Constants

ALLOWED_UNITS

private mixed ALLOWED_UNITS = ['m', 'km', 'mi', 'ft']

Properties

$fieldName

protected string $fieldName

Methods

__construct()

public __construct(string $fieldName, float $longitude, float $latitude, float $radius[, string $unit = 'km' ]) : mixed
Parameters
$fieldName : string
$longitude : float
$latitude : float
$radius : float
$unit : string = 'km'

__toString()

public __toString() : string
Return values
string

        
On this page

Search results