ReportToWizardFormAdapter Class Reference

Public Member Functions

 __construct (Report $report)
 makeFormByType ()
 makeRowsAndColumnsWizardForm ()
 makeSummationWizardForm ()
 makeMatrixWizardForm ()

Static Public Member Functions

static getFormClassNameByType ($type)

Protected Member Functions

 setCommonAttributes (ReportWizardForm $formModel)

Protected Attributes

 $report

Detailed Description

Helper class for adapting a Report to a ReportWizardForm

Definition at line 40 of file ReportToWizardFormAdapter.php.


Constructor & Destructor Documentation

__construct ( Report report  ) 
Parameters:
Report $report

Definition at line 76 of file ReportToWizardFormAdapter.php.


Member Function Documentation

static getFormClassNameByType ( type  )  [static]
Parameters:
$type 
Returns:
string
Exceptions:
NotSupportedException if the type is invalid or null

Definition at line 52 of file ReportToWizardFormAdapter.php.

makeFormByType (  ) 
Returns:
MatrixReportWizardForm|RowsAndColumnsReportWizardForm|SummationReportWizardForm
Exceptions:
NotSupportedException if the report type is invalid or null

Definition at line 85 of file ReportToWizardFormAdapter.php.

makeRowsAndColumnsWizardForm (  ) 
makeSummationWizardForm (  ) 
Returns:
SummationReportWizardForm

Definition at line 118 of file ReportToWizardFormAdapter.php.

makeMatrixWizardForm (  ) 
Returns:
MatrixReportWizardForm

Definition at line 128 of file ReportToWizardFormAdapter.php.

setCommonAttributes ( ReportWizardForm formModel  )  [protected]
Parameters:
ReportWizardForm $formModel

Definition at line 138 of file ReportToWizardFormAdapter.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Mar 30 07:10:30 2017