Class: I2CE DisplayData: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
*Extends the class: [[Class: I2CE_Module | I2CE_Module]]. | *Extends the class: [[Class: I2CE_Module | I2CE_Module]]. | ||
*Location: Part of the module [[I2CE Module List#DisplayData|DisplayData]] in the package [https://launchpad.net/i2ce I2CE] | *Location: Part of the module [[I2CE Module List#DisplayData|DisplayData]] in the package [https://launchpad.net/i2ce I2CE] | ||
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0. | *Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php#L31 modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php] on line 31 | ||
*Author: Carl Leitner <litlfred@ibiblio.org> | *Author: Carl Leitner <litlfred@ibiblio.org> | ||
I2CE_DisplayData @todo Better documentation | I2CE_DisplayData @todo Better documentation | ||
==Methods== | ==Methods== | ||
===getHooks()=== | ===getHooks()=== | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php#L33 i2ce/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php] on line 33 | |||
*Signature: static public function getHooks() | *Signature: static public function getHooks() | ||
===getMethods()=== | ===getMethods()=== | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php#L39 i2ce/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php] on line 39 | |||
*Signature: static public function getMethods() | *Signature: static public function getMethods() | ||
===processDisplay()=== | ===processDisplay()=== | ||
Process all display elements This will go through the entire displayData array to replace any elements on the page that match the given name. Multiple matches will cycle through the values in the displayData array. If the element is an anchor tag then the value will be appended as name/value pairs to the href attribute. | Process all display elements This will go through the entire displayData array to replace any elements on the page that match the given name. Multiple matches will cycle through the values in the displayData array. If the element is an anchor tag then the value will be appended as name/value pairs to the href attribute. | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php#L298 i2ce/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php] on line 298 | |||
*Signature: public function processDisplay($page) | *Signature: public function processDisplay($page) | ||
*Parameters: | *Parameters: | ||
**$page | **$page | ||
===processDisplayValue()=== | ===processDisplayValue()=== | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php#L139 i2ce/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php] on line 139 | |||
*Signature: static public function processDisplayValue($template,$node,$value,$name_set) | *Signature: static public function processDisplayValue($template,$node,$value,$name_set) | ||
*Parameters: | *Parameters: | ||
Line 24: | Line 28: | ||
***Default Value: true | ***Default Value: true | ||
===selectOptions()=== | ===selectOptions()=== | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php#L125 i2ce/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php] on line 125 | |||
*Signature: static public function selectOptions($template,$node,$selected) | *Signature: static public function selectOptions($template,$node,$selected) | ||
*Parameters: | *Parameters: | ||
Line 31: | Line 36: | ||
===selectOptionsImmediate()=== | ===selectOptionsImmediate()=== | ||
Selects options | Selects options | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php#L100 i2ce/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php] on line 100 | |||
*Signature: public function selectOptionsImmediate($template,$name,$selected,$node) | *Signature: public function selectOptionsImmediate($template,$name,$selected,$node) | ||
*Parameters: | *Parameters: | ||
Line 40: | Line 46: | ||
===setDisplayData()=== | ===setDisplayData()=== | ||
Add a display element to the page. Mutiple entries with the same field name will be appended to an array so that multiple matches can be handled in order. | Add a display element to the page. Mutiple entries with the same field name will be appended to an array so that multiple matches can be handled in order. | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php#L61 i2ce/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php] on line 61 | |||
*Signature: public function setDisplayData($template,$field,$value,$node) | *Signature: public function setDisplayData($template,$field,$value,$node) | ||
*Parameters: | *Parameters: | ||
Line 49: | Line 56: | ||
===setDisplayDataImmediate()=== | ===setDisplayDataImmediate()=== | ||
Process processes display data immediately. Mutiple entries with the same field name will be appended to an array so that multiple matches can be handled in order. | Process processes display data immediately. Mutiple entries with the same field name will be appended to an array so that multiple matches can be handled in order. | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.2-release/annotate/head:/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php#L78 i2ce/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php] on line 78 | |||
*Signature: public function setDisplayDataImmediate($template,$name,$value,$node) | *Signature: public function setDisplayDataImmediate($template,$name,$value,$node) | ||
*Parameters: | *Parameters: |
Revision as of 08:49, 10 November 2009
This article describes the class I2CE_DisplayData.
- Extends the class: I2CE_Module.
- Location: Part of the module DisplayData in the package I2CE
- Source: Defined in the file modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php on line 31
- Author: Carl Leitner <litlfred@ibiblio.org>
I2CE_DisplayData @todo Better documentation
Methods
getHooks()
- Defined in i2ce/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php on line 33
- Signature: static public function getHooks()
getMethods()
- Defined in i2ce/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php on line 39
- Signature: static public function getMethods()
processDisplay()
Process all display elements This will go through the entire displayData array to replace any elements on the page that match the given name. Multiple matches will cycle through the values in the displayData array. If the element is an anchor tag then the value will be appended as name/value pairs to the href attribute.
- Defined in i2ce/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php on line 298
- Signature: public function processDisplay($page)
- Parameters:
- $page
processDisplayValue()
- Defined in i2ce/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php on line 139
- Signature: static public function processDisplayValue($template,$node,$value,$name_set)
- Parameters:
- $template
- $node
- $value
- $name_set
- Default Value: true
selectOptions()
- Defined in i2ce/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php on line 125
- Signature: static public function selectOptions($template,$node,$selected)
- Parameters:
- $template
- $node
- $selected
selectOptionsImmediate()
Selects options
- Defined in i2ce/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php on line 100
- Signature: public function selectOptionsImmediate($template,$name,$selected,$node)
- Parameters:
setDisplayData()
Add a display element to the page. Mutiple entries with the same field name will be appended to an array so that multiple matches can be handled in order.
- Defined in i2ce/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php on line 61
- Signature: public function setDisplayData($template,$field,$value,$node)
- Parameters:
setDisplayDataImmediate()
Process processes display data immediately. Mutiple entries with the same field name will be appended to an array so that multiple matches can be handled in order.
- Defined in i2ce/modules/TemplateData/modules/DisplayData/I2CE_DisplayData.php on line 78
- Signature: public function setDisplayDataImmediate($template,$name,$value,$node)
- Parameters:
Inherited Methods
__construct()
This public method is inherited from I2CE_Module->__construct()
action_configure()
This public method is inherited from I2CE_Module->action_configure()
action_disable()
This public method is inherited from I2CE_Module->action_disable()
action_enable()
This public method is inherited from I2CE_Module->action_enable()
action_initialize()
This public method is inherited from I2CE_Module->action_initialize()
conflict_external()
This public method is inherited from I2CE_Module->conflict_external()
getCLIHooks()
This public method is inherited from I2CE_Module->getCLIHooks()
getCLIMethods()
This public method is inherited from I2CE_Module->getCLIMethods()
getConfig()
This public method is inherited from I2CE_Module->getConfig()
post_update()
This public method is inherited from I2CE_Module->post_update()
pre_upgrade()
This public method is inherited from I2CE_Module->pre_upgrade()
requirement_external()
This public method is inherited from I2CE_Module->requirement_external()
upgrade()
This public method is inherited from I2CE_Module->upgrade()
_hasMethod()
This public method is inherited from I2CE_Fuzzy->_hasMethod()
Inherited Fuzzy Methods
launchBackgroundProcess()
This method is inherited from I2CE_Module->launchBackgroundProcess()
launchBackgroundPHPScript()
This method is inherited from I2CE_Module->launchBackgroundPHPScript()
launchBackgroundPage()
This method is inherited from I2CE_Module->launchBackgroundPage()
userMessage()
This method is inherited from I2CE_Fuzzy->userMessage()