cvs: pear /Net_SMPP/SMPP/Command submit_sm.php
| From: | Ian Eure | Date: | Sat, 17 Sep 2005 02:35:15 +0000 |
| Subject: | cvs: pear /Net_SMPP/SMPP/Command submit_sm.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-34818@lists.php.net to get a copy of this message | ||
ieure Fri Sep 16 22:35:15 2005 EDT
Modified files:
/pear/Net_SMPP/SMPP/Command submit_sm.php
Log:
Update docs for esm_class, and give it a reasonable default
http://cvs.php.net/diff.php/pear/Net_SMPP/SMPP/Command/submit_sm.php?r1=1.1&r2=1.2&ty=u
Index: pear/Net_SMPP/SMPP/Command/submit_sm.php
diff -u pear/Net_SMPP/SMPP/Command/submit_sm.php:1.1 pear/Net_SMPP/SMPP/Command/submit_sm.php:1.2
--- pear/Net_SMPP/SMPP/Command/submit_sm.php:1.1 Fri Aug 12 15:41:58 2005
+++ pear/Net_SMPP/SMPP/Command/submit_sm.php Fri Sep 16 22:35:15 2005
@@ -21,7 +21,7 @@
* Forum.
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
* @version Release: @package_version@
- * @version CVS: $Revision: 1.1 $
+ * @version CVS: $Revision: 1.2 $
* @since Release 0.0.1dev6
* @link http://pear.php.net/package/Net_SMPP
*/
@@ -44,7 +44,7 @@
* Forum.
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
* @version Release: @package_version@
- * @version CVS: $Revision: 1.1 $
+ * @version CVS: $Revision: 1.2 $
* @since Release 0.0.1dev6
* @link http://pear.php.net/package/Net_SMPP
*/
@@ -153,9 +153,16 @@
/**
* Indicates Message Mode & Message Type.
*
+ * This is a bitwise field to specify the message mode, type, and GSM features.
+ * See the NET_SMPP_MSGMODE_*, NET_SMPP_MSGTYPE_*, and NET_SMPP_GSMFEAT_*
+ * constants for possible values.
+ *
+ * You will need to set this if your message has a User Data Header (UDH),
+ * for example if you are sending WAP Push messages via SMPP.
+ *
* @var int
*/
- var $esm_class;
+ var $esm_class = NET_SMPP_MSGMODE_DEFAULT;
/**
* Protocol Identifier.