PHP Класс Frontend\Modules\Location\Engine\Model

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
buildUrl ( array $settings, array $markers = [] ) : string This will build the url to google maps for a large map
get ( integer $id ) : array Get an item
getAll ( ) : array Get all items
getMapSetting ( integer $mapId, string $name ) : mixed Retrieve a map setting
getMapSettings ( integer $mapId ) : array Fetch all the settings for a specific map
getPathToMapStyles ( boolean $backend = true ) : string Get path to map styles

Описание методов

buildUrl() публичный статический метод

This will build the url to google maps for a large map
public static buildUrl ( array $settings, array $markers = [] ) : string
$settings array
$markers array
Результат string

get() публичный статический метод

Get an item
public static get ( integer $id ) : array
$id integer The id of the item to fetch.
Результат array

getAll() публичный статический метод

Get all items
public static getAll ( ) : array
Результат array

getMapSetting() публичный статический метод

Retrieve a map setting
public static getMapSetting ( integer $mapId, string $name ) : mixed
$mapId integer
$name string
Результат mixed

getMapSettings() публичный статический метод

Fetch all the settings for a specific map
public static getMapSettings ( integer $mapId ) : array
$mapId integer
Результат array

getPathToMapStyles() публичный статический метод

Get path to map styles
public static getPathToMapStyles ( boolean $backend = true ) : string
$backend boolean
Результат string