StaticImage
extends DataObject
in package
Class \Firesphere\OpenStreetmaps\Models\StaticImage
Table of Contents
Properties
- $Hash : string
- $LocationID : int
- $MapboxImageID : int
- $URL : string
- $db : mixed
- $has_one : mixed
- $owns : mixed
- $table_name : mixed
Methods
- Location() : Location
- MapboxImage() : Image
Properties
$Hash
public
string
$Hash
$LocationID
public
int
$LocationID
$MapboxImageID
public
int
$MapboxImageID
$URL
public
string
$URL
$db
private
static mixed
$db
= ['Hash' => \SilverStripe\ORM\FieldType\DBVarchar::class, 'URL' => \SilverStripe\ORM\FieldType\DBVarchar::class]
$has_one
private
static mixed
$has_one
= ['MapboxImage' => \SilverStripe\Assets\Image::class, 'Location' => \Firesphere\OpenStreetmaps\Models\Location::class]
$owns
private
static mixed
$owns
= ['MapboxImage']
$table_name
private
static mixed
$table_name
= 'StaticMapImage'
Methods
Location()
public
Location() : Location
Return values
LocationMapboxImage()
public
MapboxImage() : Image