Class: I2CE MessageHandler: Difference between revisions
From IHRIS Wiki
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]]. | ||
*Parent Classses: [[Class: I2CE_Module | I2CE_Module]] [[Class: I2CE_Fuzzy | I2CE_Fuzzy]] | *Parent Classses: [[Class: I2CE_Module | I2CE_Module]] [[Class: I2CE_Fuzzy | I2CE_Fuzzy]] | ||
*Location: Part of the module [[ | *Location: Part of the module [[I2CE Module List#messageHandler|messageHandler]] in the package [https://launchpad.net/i2ce I2CE] | ||
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/annotate/head:/modules/MessageHandler/I2CE_MessageHandler.php modules/MessageHandler/I2CE_MessageHandler.php] | *Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/annotate/head:/modules/MessageHandler/I2CE_MessageHandler.php modules/MessageHandler/I2CE_MessageHandler.php] | ||
*Author: Carl Leitner <litlfred@ibiblio.org> | *Author: Carl Leitner <litlfred@ibiblio.org> | ||
Line 33: | Line 33: | ||
===rollOverMessages()=== | ===rollOverMessages()=== | ||
*Signature: public function rollOverMessages() | *Signature: public function rollOverMessages() | ||
[[Category:Class Documentation]] | [[Category:Class Documentation]] |
Revision as of 12:09, 19 October 2009
This article describes the class I2CE_MessageHandler.
- Extends the class: I2CE_Module.
- Parent Classses: I2CE_Module I2CE_Fuzzy
- Location: Part of the module messageHandler in the package I2CE
- Source: Defined in the file modules/MessageHandler/I2CE_MessageHandler.php
- Author: Carl Leitner <litlfred@ibiblio.org>
- Since: Demo-v1.a
- The module that is a basic message handler
Variables
$immediate_messages
An array of arrays of strings index by the message class of messages that should be displayed on the current page.
- Type: protected array $immediate_messages
Methods
addUserMessage()
Adds a user message to the message handeler @param boolean $delated. Defaults to true. If falwe then we add it to the current page rather than wait for the next request.
- Signature: public function addUserMessage($obj,$msg,$class,$delayed)
- Parameters:
getHooks()
- Signature: static public function getHooks()
getMethods()
- Signature: static public function getMethods()
handleMessages()
- Signature: public function handleMessages($page)
- Parameters:
- $page
rollOverMessages()
- Signature: public function rollOverMessages()