AbstractFormatChart
AbstractFormatChart PHP Methods
fixTitlesArr(string $reportTypeName, array $titlesArr) v5
Fix report titles array
PARAMETERS:
$reportTypeName = string, Report type
$titlesArr = array, Report titles as an array
RETURN VALUE:
array = report titles array after fixing getColumnComma(string $value, int &$count) v5
Gets chart column contents as comma separated values
PARAMETERS:
$value = string, Column value
$count = int, Column countr
RETURN VALUE:
string = chart column contents as comma separated values 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 setLocation(\WMT\Map\Location $location) v5
Set report location
PARAMETERS:
$location = object
RETURN VALUE:
void showContactsTotal() v5
Checks if report stats allow showing number of total contacts
PARAMETERS:
NONE
RETURN VALUE:
bool = True if the report settings allow showing contact total, false otherwise showMembersTotal() v5
Checks if report stats allow showing number of total members
PARAMETERS:
NONE
RETURN VALUE:
bool = True if the report settings allow showing members total, false otherwise __construct(Settings $reportSettings, Data $data, array $jsArr) v5
Initialize abstract format chart
PARAMETERS:
$jsArr = array, Javascript Array
RETURN VALUE:
voidAbstractFormatChart PHP Variables
🔎︎ %l4610%