lib

# Procedural File: status.inc Source Location: /lib/status.inc ## Page Details: LDAP Account Manager status messages. #### Tags:
author: | Michael Duergner
### StatusMessage [line 50]
`void StatusMessage( string $MessageTyp, string $MessageHeadline, [string $MessageText = ''], [array $MessageVariables = array()])`
This function prints a short status message. It can be used to print INFO, WARN and ERROR messages at the moment. The headline and text may be formated with special tags: {bold}, {endbold}: All text between these tags is printed bold. {color=#123456}, {endcolor}: All text between these tags is printed in the given color. {link=http://nodomain.org}, {endlink}: A link with the given target is created. The link text is the text between the tags. #### Parameters
string | $MessageTyp | The type of the message to be printed. It must be one of the following types: 'INFO', 'WARN' or 'ERROR'. Every other type will lead to an error message indicating an invalid message type.
string | $MessageHeadline | The headline of the status message. It may be formatted with special color/link/bold tags.
string | $MessageText | The text of the status message. It may be formatted with special color/link/bold tags. This parameter is optional.
array | $MessageVariables | The variables that are used to replace the spacers (%s) in the submitted text. This parameter is optional.
[ Top ] Documentation generated on Tue, 07 Apr 2009 20:35:14 +0200 by phpDocumentor 1.4.1