PHP: SAMMessage::SAMMessage() - Manual

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

search for in the

SAMMessage::header SAMMessage::body

Last updated: Sat, 27 Jan 2007

view this page in

# SAMMessage::SAMMessage()

(no version information, might be only in CVS)

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

## Описание

class SAMMessage {
SAMMessage ( [any body] )
}

Creates a new SAMMessage object optionally specifying a message body.

## Список параметров

`body`

  The optional body for the message.

## Примеры

Пример 1. Creating a message

`<?php $msg = new SAMMessage(); ?>`

Пример 2. Creating a message with a simple text payload

`<?php $msg = new SAMMessage('This is a simple text message'); ?>`

add a note User Contributed Notes
SAMMessage::SAMMessage()
There are no user contributed notes for this page.
SAMMessage::header SAMMessage::body

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST