Class: I2CE CustomReport Display Export (Development): Difference between revisions
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
===$cols=== | ===$cols=== | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php# | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L200 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 200 | ||
*Type: protected $cols | *Type: protected $cols | ||
===$avail_xslt=== | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L203 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 203 | |||
*Type: protected $avail_xslt | |||
===$style=== | ===$style=== | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php# | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L349 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 349 | ||
*Type: protected $style | *Type: protected $style | ||
===$transform=== | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L350 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 350 | |||
*Type: protected $transform | |||
===$compression=== | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L351 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 351 | |||
*Type: protected $compression | |||
==Methods== | ==Methods== | ||
===canView()=== | ===canView()=== | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php# | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L139 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 139 | ||
*Signature: protected function canView() | *Signature: protected function canView() | ||
===display()=== | ===display()=== | ||
Display the report | Display the report | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php# | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L438 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 438 | ||
*Signature: public function display($contentNode,$processResults,$controls) | *Signature: public function display($contentNode,$processResults,$controls) | ||
*Parameters: | *Parameters: | ||
Line 58: | Line 70: | ||
***Default Value: null | ***Default Value: null | ||
*Returns: boolean.<br/>true on sucess | *Returns: boolean.<br/>true on sucess | ||
===displayReportControl()=== | |||
Adds any controls for this display to the content node. | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L227 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 227 | |||
*Signature: protected function displayReportControl($contentNode) | |||
*Parameters: | |||
** [http://www.php.net/manual/en/class.domnode.php DOMNode ] $contentNode | |||
*Returns: boolean; | |||
===generateExport()=== | |||
Generate the the exported report | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L263 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 263 | |||
*Signature: public function generateExport() | |||
*Returns: [http://www.php.net/manual/en/language.types.string.php string ] | |||
===getAvailableXSLT()=== | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L205 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 205 | |||
*Signature: protected function getAvailableXSLT() | |||
===getCompression()=== | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L405 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 405 | |||
*Signature: protected function getCompression() | |||
===getFileName()=== | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L410 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 410 | |||
*Signature: public function getFileName($style,$compression) | |||
*Parameters: | |||
**$style | |||
***Default Value: null | |||
**$compression | |||
***Default Value: null | |||
===getStyle()=== | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L353 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 353 | |||
*Signature: protected function getStyle() | |||
===getTransform()=== | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L399 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 399 | |||
*Signature: protected function getTransform() | |||
===getXMLMetaData()=== | ===getXMLMetaData()=== | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php# | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L158 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 158 | ||
*Signature: protected function getXMLMetaData($headers) | *Signature: protected function getXMLMetaData($headers) | ||
*Parameters: | *Parameters: | ||
Line 65: | Line 109: | ||
===processResultRow()=== | ===processResultRow()=== | ||
Process a result row. | Process a result row. | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php# | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L110 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 110 | ||
*Signature: protected function processResultRow($row,$row_num,$contentNode) | *Signature: protected function processResultRow($row,$row_num,$contentNode) | ||
*Parameters: | *Parameters: | ||
Line 73: | Line 117: | ||
***Default Value: null | ***Default Value: null | ||
===processResultRowArray()=== | ===processResultRowArray()=== | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php# | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L123 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 123 | ||
*Signature: protected function processResultRowArray($row) | *Signature: protected function processResultRowArray($row) | ||
*Parameters: | *Parameters: | ||
**$row | **$row | ||
===processResultRowXML()=== | ===processResultRowXML()=== | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php# | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L143 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 143 | ||
*Signature: protected function processResultRowXML($row,$row_num) | *Signature: protected function processResultRowXML($row,$row_num) | ||
*Parameters: | *Parameters: | ||
**$row | **$row | ||
**$row_num | **$row_num | ||
===processResults()=== | |||
Process results | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L75 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 75 | |||
*Signature: protected function processResults($results_data,$contentNode) | |||
*Parameters: | |||
** [http://www.php.net/manual/en/language.types.array.php array ] $results_data <br/>an array of results. indices are 'restults' and MDB2 Buffered result and 'num_results' the number of results. (these values may be false on failure) | |||
** [http://www.php.net/manual/en/class.domnode.php DOMNode ] $contentNode <br/>Default to null a node to append the results onto | |||
***Default Value: null | |||
===transformsToHTML()=== | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php#L427 i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php] on line 427 | |||
*Signature: protected function transformsToHTML() | |||
==Inherited Methods== | ==Inherited Methods== | ||
===__construct()=== | ===__construct()=== | ||
Line 95: | Line 150: | ||
===displayMetaInfo()=== | ===displayMetaInfo()=== | ||
This protected method is inherited from [[Class: I2CE_CustomReport_Display (Development)#displayMetaInfo() | I2CE_CustomReport_Display->displayMetaInfo()]] | This protected method is inherited from [[Class: I2CE_CustomReport_Display (Development)#displayMetaInfo() | I2CE_CustomReport_Display->displayMetaInfo()]] | ||
===displayReportControls()=== | ===displayReportControls()=== | ||
Line 152: | Line 204: | ||
===mapResults()=== | ===mapResults()=== | ||
This protected method is inherited from [[Class: I2CE_CustomReport_Display (Development)#mapResults() | I2CE_CustomReport_Display->mapResults()]] | This protected method is inherited from [[Class: I2CE_CustomReport_Display (Development)#mapResults() | I2CE_CustomReport_Display->mapResults()]] | ||
===processWhere()=== | ===processWhere()=== |
Latest revision as of 07:55, 3 August 2010
This article describes the class I2CE_CustomReport_Display_Export .
- Extends the class: I2CE_CustomReport_Display.
- Location: Part of the module CustomReports_Export in the package I2CE 4.0-dev
- Source: Defined in the file modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 29
- Author: Carl Leitner <litlfred@ibiblio.org>
I2CE_CustomReport_Display_Export
Variables
$col_search
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 31
- Type: static protected $col_search
$col_replace
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 36
- Type: static protected $col_replace
$col_seperate
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 41
- Type: static protected $col_seperate
$col_begin
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 46
- Type: static protected $col_begin
$col_end
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 51
- Type: static protected $col_end
$row_begin
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 56
- Type: static protected $row_begin
$row_end
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 61
- Type: static protected $row_end
$cols
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 200
- Type: protected $cols
$avail_xslt
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 203
- Type: protected $avail_xslt
$style
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 349
- Type: protected $style
$transform
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 350
- Type: protected $transform
$compression
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 351
- Type: protected $compression
Methods
canView()
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 139
- Signature: protected function canView()
display()
Display the report
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 438
- Signature: public function display($contentNode,$processResults,$controls)
- Parameters:
- DOMNode $contentNode
The DOM node we wish to display into - boolean $processResults
Defaults to true meaning we run through the results- Default Value: true
- mixed $controls
If null (default), we display all the report controsl. If string or an array of string, we only display the indicated controls- Default Value: null
- DOMNode $contentNode
- Returns: boolean.
true on sucess
displayReportControl()
Adds any controls for this display to the content node.
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 227
- Signature: protected function displayReportControl($contentNode)
- Parameters:
- DOMNode $contentNode
- Returns: boolean;
generateExport()
Generate the the exported report
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 263
- Signature: public function generateExport()
- Returns: string
getAvailableXSLT()
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 205
- Signature: protected function getAvailableXSLT()
getCompression()
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 405
- Signature: protected function getCompression()
getFileName()
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 410
- Signature: public function getFileName($style,$compression)
- Parameters:
- $style
- Default Value: null
- $compression
- Default Value: null
- $style
getStyle()
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 353
- Signature: protected function getStyle()
getTransform()
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 399
- Signature: protected function getTransform()
getXMLMetaData()
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 158
- Signature: protected function getXMLMetaData($headers)
- Parameters:
- $headers
processResultRow()
Process a result row.
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 110
- Signature: protected function processResultRow($row,$row_num,$contentNode)
- Parameters:
processResultRowArray()
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 123
- Signature: protected function processResultRowArray($row)
- Parameters:
- $row
processResultRowXML()
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 143
- Signature: protected function processResultRowXML($row,$row_num)
- Parameters:
- $row
- $row_num
processResults()
Process results
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 75
- Signature: protected function processResults($results_data,$contentNode)
- Parameters:
transformsToHTML()
- Defined in i2ce/modules/CustomReports/modules/Export/lib/I2CE_CustomReport_Display_Export.php on line 427
- Signature: protected function transformsToHTML()
Inherited Methods
__construct()
This public method is inherited from I2CE_CustomReport_Display->__construct()
saveDefaultView()
This public method is inherited from I2CE_CustomReport_Display->saveDefaultView()
saveDisplayOptions()
This public method is inherited from I2CE_CustomReport_Display->saveDisplayOptions()
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()
getDefaultOptions()
This protected method is inherited from I2CE_CustomReport_Display->getDefaultOptions()
getDisplayFieldsData()
This protected method is inherited from I2CE_CustomReport_Display->getDisplayFieldsData()
getFormFieldObjects()
This protected method is inherited from I2CE_CustomReport_Display->getFormFieldObjects()
getMappedValue()
This protected method is inherited from I2CE_CustomReport_Display->getMappedValue()
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()
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()
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()
setupMappedValues()
This protected method is inherited from I2CE_CustomReport_Display->setupMappedValues()
_hasMethod()
This public method is inherited from I2CE_Fuzzy->_hasMethod()
Inherited Variables
$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
$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
$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
$reportViewsFactory
Theis protected variable is inherited from I2CE_CustomReport_Display->$reportViewsFactory
Inherited Fuzzy Methods
userMessage()
This method is inherited from I2CE_Fuzzy->userMessage()