PHP
downloads | documentation | faq | getting help | mailing lists | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SAMMessage->header> <SAMMessage->body
Last updated: Fri, 21 Nov 2008

view this page in

SAMMessage->__construct

(No version information available, might be only in CVS)

SAMMessage->__construct Creates a new Message object

Description

SAMMessage
__construct ([ mixed $body ] )

Creates a new SAMMessage object optionally specifying a message body.

Parameters

body

The optional body for the message.

Examples

Example #1 Creating a message

<?php

$msg 
= new SAMMessage();

?>

Example #2 Creating a message with a simple text payload

<?php

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

?>



add a note add a note User Contributed Notes
SAMMessage->__construct
There are no user contributed notes for this page.

SAMMessage->header> <SAMMessage->body
Last updated: Fri, 21 Nov 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites