Docs Goabase

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

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' => ''

getVMapOpener()

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
Tags
throws
Exception
Return values
array{'map': string, 'map_btn': string, 'map_box': string, 'js': int}

        
On this page

Search results