Class: I2CE PrintedForm Render PDF (4.0.5)
This article describes the class I2CE_PrintedForm_Render_PDF .
- Extends the class: I2CE_PrintedForm_Render.
- Location: Part of the module PrintedForms in the package I2CE 4.0.5-release
- Source: Defined in the file modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render_PDF.php on line 33
- Author: Carl Leitner <litlfred@ibiblio.org>
- Since: v4.0.5
@filesource Class I2CE_PrintedForm_Render_PDF
Variables
The PDF we are rendering
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render_PDF.php on line 37
- Type: protected I2CE_PDF $pdf
Methods
_render()
business method to render the forms
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render_PDF.php on line 64
- Signature: protected function _render($textProps)
- Parameters:
- array $textProps
- Returns: boolean
true on sucess.
addPage()
Add a page to the rendered document
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render_PDF.php on line 105
- Signature: protected function addPage($textProps)
- Parameters:
- array $textProps
display()
Abstract method to retreive/display the contents of the rendered forms
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render_PDF.php on line 43
- 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
processElement_image()
Abstract business method to render a text element from the elements tree
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render_PDF.php on line 202
- Signature: protected function processElement_image($left_x,$top_y,$formData,$textProps,$elementConfig)
- Parameters:
- int $left_x
- int $top_y
- array $formData
of I2CE_Form - array $textProps
- I2CE_MagicDataNode $elementConfig
The node defining the element
- Returns: boolean.
True on success
processElement_text()
Abstract business method to render a text element from the elements tree
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render_PDF.php on line 135
- Signature: protected function processElement_text($left_x,$top_y,$formData,$textProps,$elementConfig)
- Parameters:
- int $left_x
- int $top_y
- array $formData
of I2CE_Form - array $textProps
- I2CE_MagicDataNode $elementConfig
The node defining the element
- Returns: boolean.
True on success
setTextProps()
Sets the text properties for the pdf
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render_PDF.php on line 82
- Signature: protected function setTextProps($textProps)
- Parameters:
- $textProps
Inherited Methods
__construct()
This public method is inherited from I2CE_PrintedForm_Render->__construct()
getFormData()
This public method is inherited from I2CE_PrintedForm_Render->getFormData()
render()
This public method is inherited from I2CE_PrintedForm_Render->render()
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()