SilverStripe OSM

Location extends DataObject
in package

Class \Firesphere\OpenStreetmaps\Models\Location

Tags
mixin

LocationExtension

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

$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>

        
On this page

Search results