Web Marketing Tool
Reseller
WMT .
World
Referred By: Web Marketing Tool
Login

World



Extends: AbstractSVG


World PHP Methods

addMapColor(array $colorCodeArray) v5

Add colors to a map
PARAMETERS:
$colorCodeArray = array, An array of hexa color codes to apply to the loaded map object
RETURN VALUE:
void

addStateAmount(string $stateAbbr, int $amount) v5

Add stats amount to US map
PARAMETERS:
$stateAbbr = string, State name as 2 letter code
$amount = int, stats amount for the selected state
RETURN VALUE:
void

getAfricaArray() v5

Get Africa countries as 2 letters code
PARAMETERS:
NONE
RETURN VALUE:
Array = An array of Africa countries as 2 letters code

getAsiaArray() v5

Get Asia countries as 2 letters code
PARAMETERS:
NONE
RETURN VALUE:
Array = An array of Asia countries as 2 letters code

getContinent(string $country) v5

Gets name of the continent which has a country $country
PARAMETERS:
$country = string, country name
RETURN VALUE:
string = continent name which has a country $country

getHoverHTML() v5

Gets map hover HTML
PARAMETERS:
NONE
RETURN VALUE:
string = map hover HTML

getLegendHTML() v5

Gets map legend as HTML
PARAMETERS:
NONE
RETURN VALUE:
string = map legend as HTML

getMap() v5

Gets map SVG content
PARAMETERS:
NONE
RETURN VALUE:
string = map content as SVG

getMiddleEastArray() v5

Get Middle East countries as 2 letters code
PARAMETERS:
NONE
RETURN VALUE:
Array = An array of Middle East countries as 2 letters code

getNorthAmericaArray() v5

Get North America countries as 2 letters code
PARAMETERS:
NONE
RETURN VALUE:
Array = An array of North America countries as 2 letters code

getOceaniaArray() v5

Get Oceania countries as 2 letters code
PARAMETERS:
NONE
RETURN VALUE:
Array = An array of Oceania countries as 2 letters code

getRecordsLabel() v5

Gets map record label
PARAMETERS:
NONE
RETURN VALUE:
string = map record label

getSouthAmericaArray() v5

Get South America countries as 2 letters code
PARAMETERS:
NONE
RETURN VALUE:
Array = An array of South America countries as 2 letters code

getStateColors(int $amount) v5

Get states colors based on the stats amount
PARAMETERS:
$amount = int, stats amount per state
RETURN VALUE:
string = states colors based on the stats amount

getStateHoverColors(int $amount) v5

Get states hover colors based on the stats amount
PARAMETERS:
$amount = int, stats amount per state
RETURN VALUE:
string = states hover colors based on the stats amount

getStatesTable() v5

Gets map states table as HTML
PARAMETERS:
NONE
RETURN VALUE:
string = map states table as HTML

getTableTR() v5

Get map record as HTML
PARAMETERS:
NONE
RETURN VALUE:
string = map record as HTML

getURL() v5

Get map URL
PARAMETERS:
NONE
RETURN VALUE:
string = Map URL

hideLegend() v5

hide map legend
PARAMETERS:
NONE
RETURN VALUE:
void

setHoverHTML(string $hoverHTML) v5

Set map hover HTML template
PARAMETERS:
$hoverHTML = string, map hover HTML template
RETURN VALUE:
void

setLegendHTML(string $legendHTML) v5

Set map legend HTML template
PARAMETERS:
$legendHTML = string, Map legend HTML template
RETURN VALUE:
void

setRecordsLabel(string $recordsLabel) v5

Set map records label
PARAMETERS:
$recordsLabel = string, Record label
RETURN VALUE:
void

setTableTR(string $tableTR) v5

Set map table row HTML template
PARAMETERS:
$tableTR = string, map table record HTML template
RETURN VALUE:
void

setURL(string $url) v5

Set map URL
PARAMETERS:
$url = string, Map URL
RETURN VALUE:
void

showLegend() v5

Show map legend
PARAMETERS:
NONE
RETURN VALUE:
void

World PHP Variables

🔎︎ %l4610%




DMCA.com Protection Status Authorize.net
Valid HTML! Valid CSS!


Reseller: WMT
|
Login
(502) 225-3237