GeoDataUploadField::__construct
Constructor
Signature
public function __construct(string
$name,
[string
$title = NULL,
[array
$options = ,
[string
$latFieldName = 'Latitude',
[string
$lngFieldName = 'Longitude',
[string
$zoomFieldName = 'Zoom']]]]] )
Parameters
$name
—
string
- The name of the upload field.
$title
—
string
- Title of the field on the form.
$options
—
array
- User defined options for the google map.
$latFieldName
—
string
- Name of the Latitude property in the dataobject to save the lat value in.
$lngFieldName
—
string
- Name of the Longitude property in the dataobject to save the lng value in.
$zoomFieldName
—
string
- Name of the Zoom property in the dataobject to save the zoom value in.