YANA 4 PHP FrameworkDocs For Class Message

### Class Message

#### Description

Message

- access: public

Located in /includes/class_yana_log.php

    Yana_log
       |
       --Message

#### Direct descendents

Class | Description
--- | ---
Warning | Warning
Alert | Alert
Error | Error

#### Method Summary

mixed getMessage ()
void message (array|string $message, [mixed $data = null])

#### Variables

#### Inherited Variables

Inherited from Yana_log

> Yana_log::$data
> Yana_log::$message

#### Methods

##### getMessage

mixed getMessage ()

getMessage

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:

Yana_log::getMessage()
  returns the message string of this event

##### message

void message (array|string $message, [mixed $data = null])

constructor

- name: message::__construct()

Name | Type | Description
--- | --- | ---
$message | array|string |
$data | mixed | (optional)

#### Inherited Methods

Inherited From Yana_log

> Yana_log::Yana_log()
> Yana_log::getLog()
> Yana_log::getMessage()

Documentation generated on Sat, 16 Sep 2006 17:06:15 +0200 by phpDocumentor 1.3.0RC4

yana author: Thomas Meyerwww.all-community.de/pub