Class: I2CE CustomReport Display CrossTab (4.1.12)
This article describes the class I2CE_CustomReport_Display_CrossTab .
- Extends the class: I2CE_CustomReport_Display_Default.
- Location: Part of the module CustomReports_CrossTab in the package I2CE 4.1.12-release
- Source: Defined in the file modules/CustomReports/modules/CrossTab/lib/I2CE_CustomReport_Display_CrossTab.php on line 29
- Author: Luke Duncan <lduncan@intrahealth.org>
I2CE_CustomReport_Display_CrossTab
Constants
I2CE_CustomReport_Display_CrossTab::CROSSTAB_LEFT
The constant to signify the left side of the cross tab. Defined as: 1
I2CE_CustomReport_Display_CrossTab::CROSSTAB_TOP
The constant to signify the top side of the cross tab. Defined as: 2
I2CE_CustomReport_Display_CrossTab::CROSSTAB_NONE
The constant to signify the neither side of the cross tab. Defined as: 0
Variables
$data
The data
- Defined in i2ce/modules/CustomReports/modules/CrossTab/lib/I2CE_CustomReport_Display_CrossTab.php on line 47
- Type: protected array $data
$headers
The header details and order of display
- Defined in i2ce/modules/CustomReports/modules/CrossTab/lib/I2CE_CustomReport_Display_CrossTab.php on line 51
- Type: protected array $headers
Methods
canView()
Abstract method that each display is resposbile for implementing. Checks to see if it can display the given view.
- Defined in i2ce/modules/CustomReports/modules/CrossTab/lib/I2CE_CustomReport_Display_CrossTab.php on line 610
- Signature: protected function canView()
- Returns: boolean
display()
Display the report.
- Defined in i2ce/modules/CustomReports/modules/CrossTab/lib/I2CE_CustomReport_Display_CrossTab.php on line 155
- Signature: public function display($contentNode,$processResults,$controls)
- Parameters:
- $contentNode
- $processResults
- Default Value: true
- $controls
- Default Value: null
- Returns: boolean
displayReportControl()
Adds any controls for this display to the content node.
- Defined in i2ce/modules/CustomReports/modules/CrossTab/lib/I2CE_CustomReport_Display_CrossTab.php on line 643
- Signature: protected function displayReportControl($contentNode)
- Parameters:
- DOMNode $contentNode
- Returns: boolean;
doCrossTabHeaders()
Display the headers for this report.
- Defined in i2ce/modules/CustomReports/modules/CrossTab/lib/I2CE_CustomReport_Display_CrossTab.php on line 390
- Signature: protected function doCrossTabHeaders($contentNode)
- Parameters:
- DOMNode $contentNode
generateExport()
Generate the export data for this crosstab and return it.
- Defined in i2ce/modules/CustomReports/modules/CrossTab/lib/I2CE_CustomReport_Display_CrossTab.php on line 77
- Signature: public function generateExport($contentNode,$return_array)
- Parameters:
- DOM_Node $contentNode
- boolean $return_array
Set to true to return the array, false returns a string- Default Value: true
- Returns: mixed
getDefaultOptions()
returns an array of the default display options. Default options are read and overriddenb in the following order: /modules/CustomReports/displays/$display/display_options /modules/CustomReports/relationships/display_options/$display /modules/CustomReports/reports/display_options/$display /modules/CustomReports/reportViews/$view/display_options/$display Finally any options that have a key in $get are replaced by that value
- Defined in i2ce/modules/CustomReports/modules/CrossTab/lib/I2CE_CustomReport_Display_CrossTab.php on line 594
- Signature: protected function getDefaultOptions($get,$options)
- Parameters:
- Returns: array
getDisplayFieldsData()
Gets the data about the fields we are going to display.
- Defined in i2ce/modules/CustomReports/modules/CrossTab/lib/I2CE_CustomReport_Display_CrossTab.php on line 617
- Signature: protected function getDisplayFieldsData()
isExport()
Return true if this is an export.
- Defined in i2ce/modules/CustomReports/modules/CrossTab/lib/I2CE_CustomReport_Display_CrossTab.php on line 63
- Signature: public function isExport()
- Returns: boolean
processResultRow()
Process a result row
- Defined in i2ce/modules/CustomReports/modules/CrossTab/lib/I2CE_CustomReport_Display_CrossTab.php on line 327
- Signature: protected function processResultRow($row,$row_num,$contentNode)
- Parameters:
- Returns: boolean
processResults()
Process results
- Defined in i2ce/modules/CustomReports/modules/CrossTab/lib/I2CE_CustomReport_Display_CrossTab.php on line 187
- Signature: protected function processResults($results_data,$contentNode)
- Parameters:
- Returns: boolean
tooMuchData()
- Defined in i2ce/modules/CustomReports/modules/CrossTab/lib/I2CE_CustomReport_Display_CrossTab.php on line 53
- Signature: protected function tooMuchData($contentNode)
- Parameters:
- $contentNode
Inherited Methods
doHeaderRow()
This protected method is inherited from I2CE_CustomReport_Display_Default->doHeaderRow()
doJumper()
This protected method is inherited from I2CE_CustomReport_Display_Default->doJumper()
getJumperQryFields()
This protected method is inherited from I2CE_CustomReport_Display_Default->getJumperQryFields()
getPageRoot()
This protected method is inherited from I2CE_CustomReport_Display_Default->getPageRoot()
noData()
This protected method is inherited from I2CE_CustomReport_Display_Default->noData()
__construct()
This public method is inherited from I2CE_CustomReport_Display->__construct()
getReportLimitsDescription()
This public method is inherited from I2CE_CustomReport_Display->getReportLimitsDescription()
saveDefaultView()
This public method is inherited from I2CE_CustomReport_Display->saveDefaultView()
saveDisplayOptions()
This public method is inherited from I2CE_CustomReport_Display->saveDisplayOptions()
unsetPaging()
This public method is inherited from I2CE_CustomReport_Display->unsetPaging()
_displayReportFormLimit()
This protected method is inherited from I2CE_CustomReport_Display->_displayReportFormLimit()
_displayReportFunctionLimit()
This protected method is inherited from I2CE_CustomReport_Display->_displayReportFunctionLimit()
_displayReportInternalLimit()
This protected method is inherited from I2CE_CustomReport_Display->_displayReportInternalLimit()
_displayReportLimits()
This protected method is inherited from I2CE_CustomReport_Display->_displayReportLimits()
_getMergedReportData()
This protected method is inherited from I2CE_CustomReport_Display->_getMergedReportData()
_getPivots()
This protected method is inherited from I2CE_CustomReport_Display->_getPivots()
_getReportViewDisplayedFieldsWalker()
This protected method is inherited from I2CE_CustomReport_Display->_getReportViewDisplayedFieldsWalker()
displayMetaInfo()
This protected method is inherited from I2CE_CustomReport_Display->displayMetaInfo()
displayReportControls()
This protected method is inherited from I2CE_CustomReport_Display->displayReportControls()
displayReportLimit()
This protected method is inherited from I2CE_CustomReport_Display->displayReportLimit()
displayReportLimits()
This protected method is inherited from I2CE_CustomReport_Display->displayReportLimits()
findNumericFields()
This protected method is inherited from I2CE_CustomReport_Display->findNumericFields()
getBasePage()
This protected method is inherited from I2CE_CustomReport_Display->getBasePage()
getFormFieldObjects()
This protected method is inherited from I2CE_CustomReport_Display->getFormFieldObjects()
getMappedValue()
This protected method is inherited from I2CE_CustomReport_Display->getMappedValue()
getMergedReportJoins()
This protected method is inherited from I2CE_CustomReport_Display->getMergedReportJoins()
getModuleLimits()
This protected method is inherited from I2CE_CustomReport_Display->getModuleLimits()
getPivots()
This protected method is inherited from I2CE_CustomReport_Display->getPivots()
getReportPrefix()
This protected method is inherited from I2CE_CustomReport_Display->getReportPrefix()
getReportViewDisplayedFields()
This protected method is inherited from I2CE_CustomReport_Display->getReportViewDisplayedFields()
getReportViewsFactory()
This protected method is inherited from I2CE_CustomReport_Display->getReportViewsFactory()
getResults()
This protected method is inherited from I2CE_CustomReport_Display->getResults()
getSwissReport()
This protected method is inherited from I2CE_CustomReport_Display->getSwissReport()
getSwissReportFunction()
This protected method is inherited from I2CE_CustomReport_Display->getSwissReportFunction()
getSwissReportInternal()
This protected method is inherited from I2CE_CustomReport_Display->getSwissReportInternal()
getSwissReportView()
This protected method is inherited from I2CE_CustomReport_Display->getSwissReportView()
isMapped()
This protected method is inherited from I2CE_CustomReport_Display->isMapped()
mapReportFormField()
This protected method is inherited from I2CE_CustomReport_Display->mapReportFormField()
mapResults()
This protected method is inherited from I2CE_CustomReport_Display->mapResults()
mergeOn_child()
This protected method is inherited from I2CE_CustomReport_Display->mergeOn_child()
mergeOn_child_field()
This protected method is inherited from I2CE_CustomReport_Display->mergeOn_child_field()
mergeOn_parent()
This protected method is inherited from I2CE_CustomReport_Display->mergeOn_parent()
mergeOn_parent_field()
This protected method is inherited from I2CE_CustomReport_Display->mergeOn_parent_field()
processWhere()
This protected method is inherited from I2CE_CustomReport_Display->processWhere()
processWhereByField()
This protected method is inherited from I2CE_CustomReport_Display->processWhereByField()
processWhereByFunction()
This protected method is inherited from I2CE_CustomReport_Display->processWhereByFunction()
processWhereByInternal()
This protected method is inherited from I2CE_CustomReport_Display->processWhereByInternal()
setupMappedValues()
This protected method is inherited from I2CE_CustomReport_Display->setupMappedValues()
validateSortFields()
This protected method is inherited from I2CE_CustomReport_Display->validateSortFields()
_hasMethod()
This public method is inherited from I2CE_Fuzzy->_hasMethod()
Inherited Variables
$formfields
Theis protected variable is inherited from I2CE_CustomReport_Display_Default->$formfields
$formObjs
Theis protected variable is inherited from I2CE_CustomReport_Display->$formObjs
$mappedFields
Theis protected variable is inherited from I2CE_CustomReport_Display->$mappedFields
$formMaps
Theis protected variable is inherited from I2CE_CustomReport_Display->$formMaps
$fieldMaps
Theis protected variable is inherited from I2CE_CustomReport_Display->$fieldMaps
$mappedValues
Theis protected variable is inherited from I2CE_CustomReport_Display->$mappedValues
$display
Theis protected variable is inherited from I2CE_CustomReport_Display->$display
$reportObj
Theis protected variable is inherited from I2CE_CustomReport_Display->$reportObj
$limitDescText
Theis protected variable is inherited from I2CE_CustomReport_Display->$limitDescText
$limitModules
Theis protected variable is inherited from I2CE_CustomReport_Display->$limitModules
$defaultOptions
Theis protected variable is inherited from I2CE_CustomReport_Display->$defaultOptions
$view
Theis protected variable is inherited from I2CE_CustomReport_Display->$view
$page
Theis protected variable is inherited from I2CE_CustomReport_Display->$page
$template
Theis protected variable is inherited from I2CE_CustomReport_Display->$template
$displayConfig
Theis protected variable is inherited from I2CE_CustomReport_Display->$displayConfig
$config
Theis protected variable is inherited from I2CE_CustomReport_Display->$config
$reportConfig
Theis protected variable is inherited from I2CE_CustomReport_Display->$reportConfig
$relationshipConfig
Theis protected variable is inherited from I2CE_CustomReport_Display->$relationshipConfig
$numeric
Theis protected variable is inherited from I2CE_CustomReport_Display->$numeric
$seen_merges
Theis protected variable is inherited from I2CE_CustomReport_Display->$seen_merges
$row_start
Theis protected variable is inherited from I2CE_CustomReport_Display->$row_start
$row_amount
Theis protected variable is inherited from I2CE_CustomReport_Display->$row_amount
$relationships
Theis protected variable is inherited from I2CE_CustomReport_Display->$relationships
$reportViewsFactory
Theis protected variable is inherited from I2CE_CustomReport_Display->$reportViewsFactory
$displayed_limits
Theis protected variable is inherited from I2CE_CustomReport_Display->$displayed_limits
$displayedFields
Theis protected variable is inherited from I2CE_CustomReport_Display->$displayedFields
Inherited Fuzzy Methods
userMessage()
This method is inherited from I2CE_Fuzzy->userMessage()