Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

ReportDataProviderToAmChartMakerAdapter Class Reference

Public Member Functions

 __construct (Report $report, Array $data, Array $secondSeriesValueData=array(), Array $secondSeriesDisplayLabels=array(), $secondSeriesValueCount=null)
 getType ()
 getData ()
 getSecondSeriesValueCount ()
 isStacked ()
 getSecondSeriesDisplayLabelByKey ($key)

Static Public Member Functions

static resolveFirstSeriesValueName ($key)
static resolveFirstSeriesDisplayLabelName ($key)
static resolveFirstRangeDisplayLabelName ($key)
static resolveFirstSeriesFormattedValueName ($key)
static resolveSecondSeriesValueName ($key)
static resolveSecondSeriesDisplayLabelName ($key)
static resolveSecondSeriesFormattedValueName ($key)

Data Fields

const FIRST_SERIES_VALUE = 'FirstSeriesValue'
const FIRST_SERIES_DISPLAY_LABEL = 'FirstSeriesDisplayLabel'
const FIRST_RANGE_DISPLAY_LABEL = 'FirstRangeDisplayLabel'
const FIRST_SERIES_FORMATTED_VALUE = 'FirstSeriesFormattedValue'
const SECOND_SERIES_VALUE = 'SecondSeriesValue'
const SECOND_SERIES_DISPLAY_LABEL = 'SecondSeriesDisplayLabel'
const SECOND_SERIES_FORMATTED_VALUE = 'SecondSeriesFormattedValue'

Protected Member Functions

 formatData ($data)
 formatValue (DisplayAttributeForReportForm $displayAttribute, $value)

Protected Attributes

 $report
 $data
 $secondSeriesValueData = array()
 $secondSeriesDisplayLabels = array()
 $secondSeriesValueCount
 $formattedData

Detailed Description

Helper class for adapting the ReportDataProvider data to an AmChartMakerAdapter

Definition at line 40 of file ReportDataProviderToAmChartMakerAdapter.php.


Constructor & Destructor Documentation

__construct ( Report report,
Array $  data,
Array $  secondSeriesValueData = array(),
Array $  secondSeriesDisplayLabels = array(),
secondSeriesValueCount = null 
)
Parameters:
Report $report
array $data
array $secondSeriesValueData
array $secondSeriesDisplayLabels
null | integer $secondSeriesValueCount

Definition at line 163 of file ReportDataProviderToAmChartMakerAdapter.php.


Member Function Documentation

static resolveFirstSeriesValueName ( key  )  [static]
Parameters:
$key 
Returns:
string

Definition at line 90 of file ReportDataProviderToAmChartMakerAdapter.php.

static resolveFirstSeriesDisplayLabelName ( key  )  [static]
Parameters:
$key 
Returns:
string

Definition at line 100 of file ReportDataProviderToAmChartMakerAdapter.php.

static resolveFirstRangeDisplayLabelName ( key  )  [static]
Parameters:
$key 
Returns:
string

Definition at line 110 of file ReportDataProviderToAmChartMakerAdapter.php.

static resolveFirstSeriesFormattedValueName ( key  )  [static]
Parameters:
$key 
Returns:
string

Definition at line 120 of file ReportDataProviderToAmChartMakerAdapter.php.

static resolveSecondSeriesValueName ( key  )  [static]
Parameters:
$key 
Returns:
string

Definition at line 130 of file ReportDataProviderToAmChartMakerAdapter.php.

static resolveSecondSeriesDisplayLabelName ( key  )  [static]
Parameters:
$key 
Returns:
string

Definition at line 140 of file ReportDataProviderToAmChartMakerAdapter.php.

static resolveSecondSeriesFormattedValueName ( key  )  [static]
Parameters:
$key 
Returns:
string

Definition at line 150 of file ReportDataProviderToAmChartMakerAdapter.php.

getType (  ) 
Returns:
string

Definition at line 178 of file ReportDataProviderToAmChartMakerAdapter.php.

getData (  ) 
Returns:
array

Definition at line 186 of file ReportDataProviderToAmChartMakerAdapter.php.

getSecondSeriesValueCount (  ) 
Returns:
null|integer

Definition at line 198 of file ReportDataProviderToAmChartMakerAdapter.php.

isStacked (  ) 
Returns:
bool

Definition at line 206 of file ReportDataProviderToAmChartMakerAdapter.php.

getSecondSeriesDisplayLabelByKey ( key  ) 
Parameters:
$key 
Returns:
string

Definition at line 215 of file ReportDataProviderToAmChartMakerAdapter.php.

formatData ( data  )  [protected]
Parameters:
$data 
Returns:
array

Definition at line 225 of file ReportDataProviderToAmChartMakerAdapter.php.

formatValue ( DisplayAttributeForReportForm displayAttribute,
value 
) [protected]
Parameters:
DisplayAttributeForReportForm $displayAttribute
mixed $value
Returns:
mixed
Exceptions:
NotSupportedException if the currencyConversionType is invalid or null, when the displayAttribute is a currency type

Definition at line 263 of file ReportDataProviderToAmChartMakerAdapter.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Jan 23 07:10:28 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8