status function
The status function displays a message. This function is part of the idsadmin class, which provides a library of basic functions for plug-ins for the HCL OpenAdmin Tool (OAT) for Informix®.
Syntax
status($msg="")
Variable | Purpose |
---|---|
msg | The message. |
Example
This example displays the message that a save action was successful.
$this->idsadmin->status($this->idsadmin->lang("The changes to the email program were saved."));
This example uses the language function so that the message can be localized.
$this->idsadmin->status($this->idsadmin->lang("saved_email"));
Here is the item in the language file for the module from the language file in English.
<saved_email><![CDATA[The changes to the email program were saved.]]></saved_email>