MySLP_Deployment
extends MySLP_Base
in package
Deployment helpers.
Table of Contents
Properties
- $file : mixed
Methods
- __construct() : mixed
- Geo_Base constructor.
- get_api_key() : void
- Get the embed API key
- get_embed_script() : mixed
- Get the embed script URL.
- get_instance() : mixed
- Return an instance of the object.
- get_rest_path() : string
- Retrieves the REST API path for the locations map, omitting the protocol.
- initialize() : mixed
- Do these things when this object is invoked.
Properties
$file
private
mixed
$file
= 'front-end/location.min.js'
Methods
__construct()
Geo_Base constructor.
public
__construct([array<string|int, mixed> $options = array() ]) : mixed
Parameters
- $options : array<string|int, mixed> = array()
get_api_key()
Get the embed API key
public
get_api_key() : void
get_embed_script()
Get the embed script URL.
public
get_embed_script() : mixed
get_instance()
Return an instance of the object.
public
static get_instance([array<string|int, mixed> $options = array() ]) : mixed
Parameters
- $options : array<string|int, mixed> = array()
get_rest_path()
Retrieves the REST API path for the locations map, omitting the protocol.
public
get_rest_path() : string
Return values
string —The REST API path for accessing the locations map without 'https'
initialize()
Do these things when this object is invoked.
protected
final initialize() : mixed