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

search for in the

SAMMessage->header> <SAMMessage->body
Last updated: Fri, 13 Nov 2009

view this page in

SAMMessage->__construct

(PECL sam >= 0.1.0)

SAMMessage->__construct 新しいメッセージオブジェクトを作成する

説明

SAMMessage
__construct ([ mixed $body ] )

新しい SAMMessage オブジェクトを作成します。 オプションでメッセージ本文を指定します。

パラメータ

body

オプションで指定するメッセージ本文。

例1 メッセージの作成

<?php

$msg 
= new SAMMessage();

?>

例2 単純なテキストを含むメッセージの作成

<?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, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites