Class: I2CE CustomReport Display PDF: Difference between revisions
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
*Signature: protected function SetFont($font,$pdf) | *Signature: protected function SetFont($font,$pdf) | ||
*Parameters: | *Parameters: | ||
*$font | **$font | ||
*$pdf | **$pdf | ||
===addFont()=== | ===addFont()=== | ||
adds the font so we can use it... ideally should move this to I2CE_PDF, but it is a mess there. | adds the font so we can use it... ideally should move this to I2CE_PDF, but it is a mess there. | ||
*Signature: protected function addFont($font,$pdf) | *Signature: protected function addFont($font,$pdf) | ||
*Parameters: | *Parameters: | ||
*$font | **$font | ||
*$pdf | **$pdf | ||
===canView()=== | ===canView()=== | ||
*Signature: protected function canView() | *Signature: protected function canView() |
Revision as of 13:07, 17 October 2009
This article desrcibes the class I2CE_CustomReport_Display_PDF.
- Extends the class: I2CE_CustomReport_Display.
- Location: Part of the module CustomReports_PDF in the package I2CE
- Source: Defined in the file modules/CustomReports/modules/PDF/lib/I2CE_CustomReport_Display_PDF.php
- Author: Carl Leitner <litlfred@ibiblio.org>
I2CE_CustomReport_Display_PDF
Variables
$resultsTable
- Type: protected $resultsTable
Methods
SetFont()
sets the font... ideally should move this to I2CE_PDF, but it is a mess there.
- Signature: protected function SetFont($font,$pdf)
- Parameters:
- $font
addFont()
adds the font so we can use it... ideally should move this to I2CE_PDF, but it is a mess there.
- Signature: protected function addFont($font,$pdf)
- Parameters:
- $font
canView()
- Signature: protected function canView()
display()
Display the report
- 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
processResultRow()
Process a result row.
- Signature: protected function processResultRow($row,$row_num,$contentNode)
- Parameters:
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()