PHP 클래스 Frontend\Modules\Location\Engine\Model

파일 보기 프로젝트 열기: forkcms/forkcms 1 사용 예제들

공개 메소드들

메소드 설명
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