SAMMessage::SAMMessage()

(no version information, might be only in CVS)

SAMMessage::SAMMessage() --  Creates a new Message object

Beschreibung

class SAMMessage {

SAMMessage ( [any body] )

}

Creates a new SAMMessage object optionally specifying a message body.

Parameter Liste

body

The optional body for the message.

Beispiele

Beispiel 1. Creating a message

<?php

$msg
= new SAMMessage();

?>

Beispiel 2. Creating a message with a simple text payload

<?php

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

?>