FormatCalendarData
FormatCalendarData PHP Methods
getCountryAddData(string $type, string $title, $total) v5
Gets country stats data
PARAMETERS:
$type = string, Map type (for countries = "country")
$title = string, Country name 2 letters code
$total = Stats total amount
RETURN VALUE:
string = country stats data as HTML getCountryTitle(string $country) v5
Gets country title from 2 letters code
PARAMETERS:
$country = string, Country name 2 letters code
RETURN VALUE:
string = country title from 2 letters code getData() v5
Gets calendar report data as comma separated values
PARAMETERS:
NONE
RETURN VALUE:
string = calendar report data as comma separated values getReport(string $reportTypeName, array $titlesArr, $chartUniqueID = 1) v5
Gets calendar report as HTML
PARAMETERS:
$reportTypeName = string, Report type name
$titlesArr = array, list of report titles
$chartUniqueID = int, Chart unique ID
RETURN VALUE:
string = calendar report as HTML setLocation(\WMT\Map\Location $location) v5
Set report location
PARAMETERS:
$location = object
RETURN VALUE:
voidstatic __construct(Settings $reportSettings, Data $data, array $jsArr) v5
Initialize calendar report format object
PARAMETERS:
$reportSettings = object
$data = object
$jsArr = array, calendar report Javascript array
RETURN VALUE:
voidFormatCalendarData PHP Variables
🔎︎ %l4610%