baserCMS クラスリファレンス

BcGoogleMapsHelper extends Helper
in package
Uses BcEventDispatcherTrait

GoogleMapヘルパー

Table of Contents

Properties

$BcBaser  : BcBaserHelper
$helpers  : array<string|int, mixed>
ヘルパー
$_View  : View
View

Methods

dispatchLayerEvent()  : bool|Event
イベントを発火
getLocation()  : array<string|int, mixed>|null
ロケーションを取得する
getMarker()  : mixed
マーカーを取得する
load()  : bool
Google マップ を読み込む

Properties

Methods

dispatchLayerEvent()

イベントを発火

public dispatchLayerEvent(string $name[, array<string|int, mixed> $data = [] ][, mixed $options = [] ]) : bool|Event
Parameters
$name : string
$data : array<string|int, mixed> = []
$options : mixed = []
Tags
checked
unitTest
noTodo
Return values
bool|Event

getLocation()

ロケーションを取得する

public getLocation(string $address, string $apiKey) : array<string|int, mixed>|null
Parameters
$address : string
$apiKey : string
Tags
checked
noTodo
Return values
array<string|int, mixed>|null

getMarker()

マーカーを取得する

public getMarker(string $title, string $address) : mixed
Parameters
$title : string
$address : string
Tags
checked
noTodo

load()

Google マップ を読み込む

public load(mixed $options) : bool
Parameters
$options : mixed
Tags
checked
noTodo
Return values
bool

        
On this page

Search results