Location
extends DataObject
in package
Class \Firesphere\OpenStreetmaps\Models\Location
Tags
Table of Contents
Properties
- $Address : string
- $City : string
- $Country : string
- $Description : string
- $Latitude : string
- $Longitude : string
- $Name : string
- $Primary : bool
- $URL : string
- $db : mixed
- $has_many : mixed
- $has_one : mixed
- $table_name : mixed
Methods
- getCMSFields() : mixed
- Groups() : ManyManyList|array<string|int, Group>
- StaticImages() : DataList|array<string|int, StaticImage>
Properties
$Address
public
string
$Address
$City
public
string
$City
$Country
public
string
$Country
$Description
public
string
$Description
$Latitude
public
string
$Latitude
$Longitude
public
string
$Longitude
$Name
public
string
$Name
$Primary
public
bool
$Primary
$URL
public
string
$URL
$db
private
static mixed
$db
= ['Name' => \SilverStripe\ORM\FieldType\DBVarchar::class, 'Address' => \SilverStripe\ORM\FieldType\DBVarchar::class, 'City' => \SilverStripe\ORM\FieldType\DBVarchar::class, 'Country' => \SilverStripe\ORM\FieldType\DBVarchar::class, 'URL' => \SilverStripe\ORM\FieldType\DBVarchar::class, 'Description' => \SilverStripe\ORM\FieldType\DBHTMLText::class, 'Latitude' => \SilverStripe\ORM\FieldType\DBVarchar::class, 'Longitude' => \SilverStripe\ORM\FieldType\DBVarchar::class]
$has_many
private
static mixed
$has_many
= ['StaticImages' => \Firesphere\OpenStreetmaps\Models\StaticImage::class]
$has_one
private
static mixed
$has_one
= []
$table_name
private
static mixed
$table_name
= 'Location'
Methods
getCMSFields()
public
getCMSFields() : mixed
Groups()
public
Groups() : ManyManyList|array<string|int, Group>
Return values
ManyManyList|array<string|int, Group>StaticImages()
public
StaticImages() : DataList|array<string|int, StaticImage>