header"HREF="function.sammessage-header.html"> Manuál PHP Předcházející Další (no version information, might be only i..."/>
Forum und email
SAMMessage->__construct()

SAMMessage->__construct()

(no version information, might be only in CVS)

SAMMessage->__construct() --  Creates a new Message object

Popis

class SAMMessage {

__construct ( [mixed body] )

}

Creates a new SAMMessage object optionally specifying a message body.

Seznam parametrů

body

The optional body for the message.

Příklady

Příklad 1. Creating a message

<?php

$msg
= new SAMMessage();

?>

Příklad 2. Creating a message with a simple text payload

<?php

$msg
= new SAMMessage('This is a simple text message');

?>