CountryMap
in package
uses
TraitParty
Table of Contents
Methods
- __construct() : mixed
- getOSMMap() : array{'gbdata': string, 'gburl': string}
- Returns an OSM map, used for ajax
- getPartyInstance() : Party
- getVMapOpener() : array{'map': string, 'map_btn': string, 'map_box': string, 'js': int}
- returns the map element 'map' with the html elements and map_btn, map_box
Methods
__construct()
public
__construct() : mixed
getOSMMap()
Returns an OSM map, used for ajax
public
getOSMMap(int|string $aID) : array{'gbdata': string, 'gburl': string}
Parameters
- $aID : int|string
Return values
array{'gbdata': string, 'gburl': string} —- 'gbdata' => '', 'gburl' => ''
getPartyInstance()
public
getPartyInstance() : Party
Return values
PartygetVMapOpener()
returns the map element 'map' with the html elements and map_btn, map_box
public
getVMapOpener([string $type = 'party' ]) : array{'map': string, 'map_btn': string, 'map_box': string, 'js': int}
Parameters
- $type : string = 'party'
-
- party|member