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

DataToReportUtil Class Reference

Static Public Member Functions

static resolveReportByWizardPostData (Report $report, $postData, $wizardFormClassName)
static resolveFilters ($data, Report $report, $shouldRemoveOnlyRuntimeFilters=false)
static sanitizeFiltersData ($moduleClassName, $reportType, array $filtersData)
static resolveFiltersStructure ($data, Report $report)

Static Protected Member Functions

static sanitizeFilterData ($moduleClassName, $modelClassName, $reportType, $filterData)
static resolveOrderBys ($data, Report $report)
static resolveDisplayAttributes ($data, Report $report)
static resolveDrillDownDisplayAttributes ($data, Report $report)
static resolveGroupBys ($data, Report $report)
static resolveChart ($data, Report $report)

Detailed Description

Class to work with POST data and adapting that into a Report object

Definition at line 40 of file DataToReportUtil.php.


Member Function Documentation

static resolveReportByWizardPostData ( Report report,
postData,
wizardFormClassName 
) [static]
Parameters:
Report $report
array $postData
string $wizardFormClassName

Definition at line 47 of file DataToReportUtil.php.

static resolveFilters ( data,
Report report,
shouldRemoveOnlyRuntimeFilters = false 
) [static]
Parameters:
array $data
Report $report

Definition at line 94 of file DataToReportUtil.php.

static sanitizeFiltersData ( moduleClassName,
reportType,
array $  filtersData 
) [static]

Preserving keys since they are used as the rowKeys.

See also:
RowKeyInterface
Parameters:
string $moduleClassName
string $reportType
array $filtersData
Returns:
array

Definition at line 129 of file DataToReportUtil.php.

static sanitizeFilterData ( moduleClassName,
modelClassName,
reportType,
filterData 
) [static, protected]
Parameters:
string $moduleClassName
string $modelClassName
string $reportType
array $filterData
Returns:
array

Definition at line 151 of file DataToReportUtil.php.

static resolveOrderBys ( data,
Report report 
) [static, protected]
Parameters:
array $data
Report $report

Definition at line 181 of file DataToReportUtil.php.

static resolveDisplayAttributes ( data,
Report report 
) [static, protected]
Parameters:
array $data
Report $report

Definition at line 205 of file DataToReportUtil.php.

static resolveDrillDownDisplayAttributes ( data,
Report report 
) [static, protected]
Parameters:
array $data
Report $report

Definition at line 231 of file DataToReportUtil.php.

static resolveGroupBys ( data,
Report report 
) [static, protected]
Parameters:
array $data
Report $report

Definition at line 257 of file DataToReportUtil.php.

static resolveChart ( data,
Report report 
) [static, protected]
Parameters:
array $data
Report $report

Definition at line 281 of file DataToReportUtil.php.

static resolveFiltersStructure ( data,
Report report 
) [static]

Resolve filters structure

Parameters:
array $data
Report $report

Definition at line 318 of file DataToReportUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Jan 23 07:10:23 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