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

search for in the

SAMMessage::header> <SAMMessage::body
[edit] Last updated: Fri, 24 May 2013

view this page in

SAMMessage::__construct

(PECL sam >= 0.1.0)

SAMMessage::__construct Creates a new Message object

Descrição

SAMMessage::__construct() ([ mixed $body ] )

Creates a new SAMMessage object optionally specifying a message body.

Parâmetros

body

The optional body for the message.

Exemplos

Exemplo #1 Creating a message

<?php

$msg 
= new SAMMessage();

?>

Exemplo #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 - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites