Class: I2CE PrintedForm Render ODT (4.0.14)
This article describes the class I2CE_PrintedForm_Render_ODT .
- Extends the class: I2CE_PrintedForm_Render.
- Location: Part of the module PrintedFormsODT in the package I2CE 4.0.14-release
- Source: Defined in the file modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_PrintedForm_Render_ODT.php on line 33
- Author: Carl Leitner <litlfred@ibiblio.org>
- Since: v4.0.4
@filesource Class I2CE_PrintedForm_Render
Variables
$template_file
. The absolute file location of the template we are reading from
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_PrintedForm_Render_ODT.php on line 120
- Type: protected string $template_file
$template_contents
@var protected string $template_contnets. The contents of the template file
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_PrintedForm_Render_ODT.php on line 125
- Type: protected $template_contents
$output
. Indedx by id's of the output files
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_PrintedForm_Render_ODT.php on line 130
- Type: protected array $output
$formData
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_PrintedForm_Render_ODT.php on line 132
- Type: protected $formData
$user
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_PrintedForm_Render_ODT.php on line 177
- Type: protected $user
Methods
_render()
business method to render the forms
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_PrintedForm_Render_ODT.php on line 139
- Signature: protected function _render($textProps)
- Parameters:
- array $textProps
- Returns: boolean
true on sucess.
addPage()
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_PrintedForm_Render_ODT.php on line 43
- Signature: protected function addPage($textProps)
- Parameters:
- $textProps
display()
Abstract method to retreive/display the contents of the rendered forms
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_PrintedForm_Render_ODT.php on line 241
- Signature: public function display($as_string)
- Parameters:
- boolean $as_string
Defaults to false- Default Value: false
- boolean $as_string
- Returns: mixed.
If {$as_string} is false the it is a boolean true on sucess. If $as_string is true, then it is a string on success, false on failure
getFileName()
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_PrintedForm_Render_ODT.php on line 286
- Signature: public function getFileName()
getMimeType()
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_PrintedForm_Render_ODT.php on line 282
- Signature: public function getMimeType()
processContents()
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_PrintedForm_Render_ODT.php on line 231
- Signature: protected function processContents($contents)
- Parameters:
- $contents
processElement_image()
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_PrintedForm_Render_ODT.php on line 39
- Signature: protected function processElement_image($left_x,$top_y,$formData,$textProps,$elementConfig)
- Parameters:
- $left_x
- $top_y
- $formData
- $textProps
- $elementConfig
processElement_text()
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_PrintedForm_Render_ODT.php on line 35
- Signature: protected function processElement_text($left_x,$top_y,$formData,$textProps,$elementConfig)
- Parameters:
- $left_x
- $top_y
- $formData
- $textProps
- $elementConfig
processFile()
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_PrintedForm_Render_ODT.php on line 157
- Signature: protected function processFile()
render()
Abstract method to render the form. Makes sure all ducks are in a row
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_PrintedForm_Render_ODT.php on line 52
- Signature: public function render()
- Returns: boolean
true on sucess.
replacement()
- Defined in i2ce/modules/Forms/modules/PrintedForms/modules/PrintedFormODT/lib/I2CE_PrintedForm_Render_ODT.php on line 179
- Signature: protected function replacement($matches)
- Parameters:
- $matches
Inherited Methods
__construct()
This public method is inherited from I2CE_PrintedForm_Render->__construct()
getFormData()
This public method is inherited from I2CE_PrintedForm_Render->getFormData()
addForm()
This protected method is inherited from I2CE_PrintedForm_Render->addForm()
getCurrentId()
This protected method is inherited from I2CE_PrintedForm_Render->getCurrentId()
processTextString()
This protected method is inherited from I2CE_PrintedForm_Render->processTextString()
setCurrentId()
This protected method is inherited from I2CE_PrintedForm_Render->setCurrentId()
validateTextProps()
This protected method is inherited from I2CE_PrintedForm_Render->validateTextProps()
_hasMethod()
This public method is inherited from I2CE_Fuzzy->_hasMethod()
Inherited Variables
$std_form
Theis protected variable is inherited from I2CE_PrintedForm_Render->$std_form
$ids
Theis protected variable is inherited from I2CE_PrintedForm_Render->$ids
$base_rel_config
Theis protected variable is inherited from I2CE_PrintedForm_Render->$base_rel_config
$rel
Theis protected variable is inherited from I2CE_PrintedForm_Render->$rel
$stdConfig
Theis protected variable is inherited from I2CE_PrintedForm_Render->$stdConfig
$layoutOptions
Theis protected variable is inherited from I2CE_PrintedForm_Render->$layoutOptions
$content
Theis protected variable is inherited from I2CE_PrintedForm_Render->$content
$forms
Theis protected variable is inherited from I2CE_PrintedForm_Render->$forms
$id
Theis protected variable is inherited from I2CE_PrintedForm_Render->$id
Inherited Fuzzy Methods
userMessage()
This method is inherited from I2CE_Fuzzy->userMessage()