Class: I2CE PrintedForm Render (Development): Difference between revisions
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
*Child Classes: | *Child Classes: | ||
** [[Class: I2CE_PrintedForm_Render_PDF (Development) | I2CE_PrintedForm_Render_PDF]] | ** [[Class: I2CE_PrintedForm_Render_PDF (Development) | I2CE_PrintedForm_Render_PDF]] | ||
*Location: Part of the module [[I2CE Module List (Development)#PrintedForms|PrintedForms]] in the package [https://launchpad.net/i2ce I2CE] 4. | ** [[Class: I2CE_PrintedForm_Render_ODT (Development) | I2CE_PrintedForm_Render_ODT]] | ||
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Location: Part of the module [[I2CE Module List (Development)#PrintedForms|PrintedForms]] in the package [https://launchpad.net/i2ce I2CE] 4.1-dev | ||
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L33 modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 33 | |||
*Author: Carl Leitner <litlfred@ibiblio.org> | *Author: Carl Leitner <litlfred@ibiblio.org> | ||
*Since: v4.0.4 | *Since: v4.0.4 | ||
Line 12: | Line 13: | ||
===$std_form=== | ===$std_form=== | ||
. The standardized printed form we are rendeding | . The standardized printed form we are rendeding | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L38 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 38 | ||
*Type: protected [http://www.php.net/manual/en/language.types.string.php string ] $std_form | *Type: protected [http://www.php.net/manual/en/language.types.string.php string ] $std_form | ||
===$ids=== | ===$ids=== | ||
. The ids of the primary form in the relationship | . The ids of the primary form in the relationship | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L42 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 42 | ||
*Type: protected [http://www.php.net/manual/en/language.types.array.php array ] $ids | *Type: protected [http://www.php.net/manual/en/language.types.array.php array ] $ids | ||
===$base_rel_config=== | ===$base_rel_config=== | ||
The magic data path that we look for the base relationship in. | The magic data path that we look for the base relationship in. | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L48 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 48 | ||
*Type: protected [http://www.php.net/manual/en/language.types.string.php string ] $base_rel_config | *Type: protected [http://www.php.net/manual/en/language.types.string.php string ] $base_rel_config | ||
===$rel=== | ===$rel=== | ||
The form relationshiop | The form relationshiop | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L66 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 66 | ||
*Type: protected I2CE_FormRelationsip $rel | *Type: protected I2CE_FormRelationsip $rel | ||
===$stdConfig=== | ===$stdConfig=== | ||
@var protected I2CE_MagicDataNode $stdConfg the magic data node for the standard config | @var protected I2CE_MagicDataNode $stdConfg the magic data node for the standard config | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L70 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 70 | ||
*Type: protected $stdConfig | *Type: protected $stdConfig | ||
===$layoutOptions=== | ===$layoutOptions=== | ||
. Main options for page layout | . Main options for page layout | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L77 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 77 | ||
*Type: protected [http://www.php.net/manual/en/language.types.array.php array ] $layoutOptions | *Type: protected [http://www.php.net/manual/en/language.types.array.php array ] $layoutOptions | ||
===$content=== | ===$content=== | ||
. Content descrtiption | . Content descrtiption | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L81 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 81 | ||
*Type: protected [http://www.php.net/manual/en/language.types.array.php array ] $content | *Type: protected [http://www.php.net/manual/en/language.types.array.php array ] $content | ||
===$forms=== | ===$forms=== | ||
. Indedx by id's of the primary form it is an array of the forms satisfying the relationship | . Indedx by id's of the primary form it is an array of the forms satisfying the relationship | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L266 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 266 | ||
*Type: protected [http://www.php.net/manual/en/language.types.array.php array ] $forms | *Type: protected [http://www.php.net/manual/en/language.types.array.php array ] $forms | ||
===$id=== | ===$id=== | ||
The id of the form currently being processed | The id of the form currently being processed | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L284 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 284 | ||
*Type: protected [http://www.php.net/manual/en/language.types.string.php string ] $id | *Type: protected [http://www.php.net/manual/en/language.types.string.php string ] $id | ||
Line 58: | Line 59: | ||
===__construct()=== | ===__construct()=== | ||
Constructor | Constructor | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L56 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 56 | ||
*Signature: public function __construct($std_form,$ids,$base_rel_config) | *Signature: public function __construct($std_form,$ids,$base_rel_config) | ||
*Parameters: | *Parameters: | ||
Line 67: | Line 68: | ||
===_render()=== | ===_render()=== | ||
business method to render the forms | business method to render the forms | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L307 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 307 | ||
*Signature: protected function _render($textProps) | *Signature: protected function _render($textProps) | ||
*Parameters: | *Parameters: | ||
Line 74: | Line 75: | ||
===addForm()=== | ===addForm()=== | ||
Adds the form data at the specified position on the current page. | Adds the form data at the specified position on the current page. | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L390 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 390 | ||
*Signature: protected function addForm($left_x,$top_y,$formData,$textProps) | *Signature: protected function addForm($left_x,$top_y,$formData,$textProps) | ||
*Parameters: | *Parameters: | ||
Line 84: | Line 85: | ||
===addPage()=== | ===addPage()=== | ||
Add a page to the rendered document | Add a page to the rendered document | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L526 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 526 | ||
*Signature: abstract protected function addPage($textProps) | *Signature: abstract protected function addPage($textProps) | ||
*Parameters: | *Parameters: | ||
Line 90: | Line 91: | ||
===display()=== | ===display()=== | ||
Abstract method to retreive/display the contents of the rendered forms | Abstract method to retreive/display the contents of the rendered forms | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L535 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 535 | ||
*Signature: abstract public function display($as_string) | *Signature: abstract public function display($as_string) | ||
*Parameters: | *Parameters: | ||
Line 98: | Line 99: | ||
===getCurrentId()=== | ===getCurrentId()=== | ||
Gets the id of the form currently being processsed | Gets the id of the form currently being processsed | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L289 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 289 | ||
*Signature: protected function getCurrentId() | *Signature: protected function getCurrentId() | ||
*Returns: [http://www.php.net/manual/en/language.types.string.php string ] | *Returns: [http://www.php.net/manual/en/language.types.string.php string ] | ||
===getFileName()=== | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L537 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 537 | |||
*Signature: abstract public function getFileName() | |||
===getFormData()=== | ===getFormData()=== | ||
Get the form data for the given id | Get the form data for the given id | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L271 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 271 | ||
*Signature: public function getFormData($id) | *Signature: public function getFormData($id) | ||
*Parameters: | *Parameters: | ||
**$id | **$id | ||
===getMimeType()=== | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L538 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 538 | |||
*Signature: abstract public function getMimeType() | |||
===processElement_image()=== | ===processElement_image()=== | ||
Abstract business method to render a text element from the elements tree | Abstract business method to render a text element from the elements tree | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L519 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 519 | ||
*Signature: abstract protected function processElement_image($left_x,$top_y,$formData,$textProps,$elementConfig) | *Signature: abstract protected function processElement_image($left_x,$top_y,$formData,$textProps,$elementConfig) | ||
*Parameters: | *Parameters: | ||
Line 120: | Line 127: | ||
===processElement_text()=== | ===processElement_text()=== | ||
Abstract business method to render a text element from the elements tree | Abstract business method to render a text element from the elements tree | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L508 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 508 | ||
*Signature: abstract protected function processElement_text($left_x,$top_y,$formData,$textProps,$elementConfig) | *Signature: abstract protected function processElement_text($left_x,$top_y,$formData,$textProps,$elementConfig) | ||
*Parameters: | *Parameters: | ||
Line 131: | Line 138: | ||
===processTextString()=== | ===processTextString()=== | ||
Processes the printf string and args | Processes the printf string and args | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L433 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 433 | ||
*Signature: protected function processTextString($printf,$printf_args,$formData) | *Signature: protected function processTextString($printf,$printf_args,$formData) | ||
*Parameters: | *Parameters: | ||
Line 140: | Line 147: | ||
===render()=== | ===render()=== | ||
Abstract method to render the form. Makes sure all ducks are in a row | Abstract method to render the form. Makes sure all ducks are in a row | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L87 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 87 | ||
*Signature: public function render() | *Signature: public function render() | ||
*Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean ]<br/>true on sucess. | *Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean ]<br/>true on sucess. | ||
===setCurrentId()=== | ===setCurrentId()=== | ||
Sets the id of the form currently being processsed | Sets the id of the form currently being processsed | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L297 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 297 | ||
*Signature: protected function setCurrentId($id) | *Signature: protected function setCurrentId($id) | ||
*Parameters: | *Parameters: | ||
Line 151: | Line 158: | ||
===validateTextProps()=== | ===validateTextProps()=== | ||
Validates the text properties | Validates the text properties | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.1-dev/annotate/head:/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php#L333 i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php] on line 333 | ||
*Signature: protected function validateTextProps($textProps) | *Signature: protected function validateTextProps($textProps) | ||
*Parameters: | *Parameters: |
Latest revision as of 08:18, 6 May 2015
This article describes the abstract class I2CE_PrintedForm_Render .
- Extends the class: I2CE_Fuzzy.
- Child Classes:
- Location: Part of the module PrintedForms in the package I2CE 4.1-dev
- Source: Defined in the file modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 33
- Author: Carl Leitner <litlfred@ibiblio.org>
- Since: v4.0.4
@filesource Class I2CE_PrintedForm_Render
Variables
$std_form
. The standardized printed form we are rendeding
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 38
- Type: protected string $std_form
$ids
. The ids of the primary form in the relationship
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 42
- Type: protected array $ids
$base_rel_config
The magic data path that we look for the base relationship in.
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 48
- Type: protected string $base_rel_config
$rel
The form relationshiop
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 66
- Type: protected I2CE_FormRelationsip $rel
$stdConfig
@var protected I2CE_MagicDataNode $stdConfg the magic data node for the standard config
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 70
- Type: protected $stdConfig
$layoutOptions
. Main options for page layout
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 77
- Type: protected array $layoutOptions
$content
. Content descrtiption
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 81
- Type: protected array $content
$forms
. Indedx by id's of the primary form it is an array of the forms satisfying the relationship
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 266
- Type: protected array $forms
$id
The id of the form currently being processed
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 284
- Type: protected string $id
Methods
__construct()
Constructor
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 56
- Signature: public function __construct($std_form,$ids,$base_rel_config)
- Parameters:
- string $std_form
The standardized printed form we are rendeding @parm array $ids of string. The ids of the primary form in the relationship - $ids
- string $base_rel_config
The magic data path that we look for the base relationship in. Defaults to /modules/CustomReports/relationships- Default Value: '/modules/CustomReports/relationships'
- string $std_form
_render()
business method to render the forms
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 307
- Signature: protected function _render($textProps)
- Parameters:
- array $textProps
- Returns: boolean
true on sucess.
addForm()
Adds the form data at the specified position on the current page.
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 390
- Signature: protected function addForm($left_x,$top_y,$formData,$textProps)
- Parameters:
- Returns: boolean.
True on success
addPage()
Add a page to the rendered document
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 526
- Signature: abstract 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.php on line 535
- Signature: abstract 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
getCurrentId()
Gets the id of the form currently being processsed
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 289
- Signature: protected function getCurrentId()
- Returns: string
getFileName()
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 537
- Signature: abstract public function getFileName()
getFormData()
Get the form data for the given id
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 271
- Signature: public function getFormData($id)
- Parameters:
- $id
getMimeType()
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 538
- Signature: abstract public function getMimeType()
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.php on line 519
- Signature: abstract 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.php on line 508
- Signature: abstract 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
processTextString()
Processes the printf string and args
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 433
- Signature: protected function processTextString($printf,$printf_args,$formData)
- Parameters:
- Returns: string
render()
Abstract method to render the form. Makes sure all ducks are in a row
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 87
- Signature: public function render()
- Returns: boolean
true on sucess.
setCurrentId()
Sets the id of the form currently being processsed
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 297
- Signature: protected function setCurrentId($id)
- Parameters:
- string $id
validateTextProps()
Validates the text properties
- Defined in i2ce/modules/Forms/modules/PrintedForms/lib/I2CE_PrintedForm_Render.php on line 333
- Signature: protected function validateTextProps($textProps)
- Parameters:
- array &$textProps
Inherited Methods
_hasMethod()
This public method is inherited from I2CE_Fuzzy->_hasMethod()
Inherited Fuzzy Methods
userMessage()
This method is inherited from I2CE_Fuzzy->userMessage()