Class: I2CE PrintedForm Render (4.1.4)

From IHRIS Wiki
Revision as of 09:10, 27 July 2012 by Litlfred (talk | contribs) (Created page with "{{otherversions|Class: I2CE_PrintedForm_Render}} This article describes the ''abstract'' class ''I2CE_PrintedForm_Render'' . *Extends the class: [[Class: I2CE_Fuzzy (4.1.4) | I2C...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This article describes the abstract class I2CE_PrintedForm_Render .

@filesource Class I2CE_PrintedForm_Render

Variables

$std_form

. The standardized printed form we are rendeding

$ids

. The ids of the primary form in the relationship

$base_rel_config

The magic data path that we look for the base relationship in.

$rel

The form relationshiop

$stdConfig

@var protected I2CE_MagicDataNode $stdConfg the magic data node for the standard config

$layoutOptions

. Main options for page layout

$content

. Content descrtiption

$forms

. Indedx by id's of the primary form it is an array of the forms satisfying the relationship

$id

The id of the form currently being processed

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'

_render()

business method to render the forms

addForm()

Adds the form data at the specified position on the current page.

addPage()

Add a page to the rendered document

display()

Abstract method to retreive/display the contents of the rendered forms

getCurrentId()

Gets the id of the form currently being processsed

getFileName()

getFormData()

Get the form data for the given id

getMimeType()

processElement_image()

Abstract business method to render a text element from the elements tree

processElement_text()

Abstract business method to render a text element from the elements tree

processTextString()

Processes the printf string and args

render()

Abstract method to render the form. Makes sure all ducks are in a row

setCurrentId()

Sets the id of the form currently being processsed

validateTextProps()

Validates the text properties

Inherited Methods

_hasMethod()

This public method is inherited from I2CE_Fuzzy->_hasMethod()

Inherited Fuzzy Methods

userMessage()

This method is inherited from I2CE_Fuzzy->userMessage()