Документация PHP
| Документация DHTML | Документация Smarty | SVG/VML Графика и JavaScript
| Документация bash |
SAMMessage->__construct()
(No version information available, might be only in CVS)
SAMMessage->__construct() — Creates a new Message object
Описание
SAMMessage
__construct ([ mixed $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');
?>