SLP_Location_Services
extends SLP_Base_Object
in package
This class manages third-party map services.
Only Google Maps at the moment. There may be others.
Table of Contents
Properties
- $service : string
Methods
- __construct() : mixed
- SLP_Base_Object constructor.
- get_instance() : SLP_Base_Object
- Return an instance of the object which is also registered to the slplus global less the SLP_ part.
- get_map_domain() : string
- set_properties() : void
- Set our properties.
- initialize() : mixed
- Do these things when this object is invoked. Override in your class.
Properties
$service
public
string
$service
= 'google'
Methods
__construct()
SLP_Base_Object constructor.
public
__construct([array<string|int, mixed> $options = array() ]) : mixed
Parameters
- $options : array<string|int, mixed> = array()
get_instance()
Return an instance of the object which is also registered to the slplus global less the SLP_ part.
public
static get_instance([null|array<string|int, mixed> $options = array() ]) : SLP_Base_Object
Parameters
- $options : null|array<string|int, mixed> = array()
-
object init params
Return values
SLP_Base_Objectget_map_domain()
public
get_map_domain() : string
Return values
stringset_properties()
Set our properties.
public
set_properties([array<string|int, mixed> $options = array() ]) : void
Parameters
- $options : array<string|int, mixed> = array()
initialize()
Do these things when this object is invoked. Override in your class.
protected
initialize() : mixed