SilverStripe OSM

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

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

$table_name

private static mixed $table_name = 'StaticMapImage'

Methods

MapboxImage()

public MapboxImage() : Image
Return values
Image

        
On this page

Search results