>> YANA 4 PHP Framework >> Docs For Class Message

Class Message

Description

Message

This is a super class for all common messages. It may be used to represent information, that is not an error. E.g. reporting, that a certain operation has been finished successfully.

  • access: public

Located in /includes/class_report_message.php

Report
   |
   --Message
Method Summary

Direct descendents

Class Description
Alert Alert
Error Error
Warning Warning
Inherited Variables

Inherited from Report

Methods

getMessage
mixed getMessage ()
Description:

returns the message string of this event

  1. checks whether message is fulltext or id and resolves id,
  2. checks whether data is array or empty or other and replaces token

  • name: Message::getMessage()
  • access: public

Redefinition of: Report::getMessage()

constructor
void message (
array|string $message, [mixed $data = null]
)
List of parameters:
Name Type Description
$message array|string
$data mixed (optional)
Description:
  • name: Message::__construct()
inherited from base classes

Inherited From Report

Documentation generated on Sun, 11 Mar 2007 15:02:41 +0100 by phpDocumentor 1.3.1

yana author: Thomas MeyerHomepage: www.yanaframework.net