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 Fri May 26 07:10:24 2017