PAMI\Message\Action\VGSMSMSTxAction
Not all methods were implemented. For reference please check http://open.voismart.it/index.php/VGSM_Manager_Interface
PHP Version 5
- Author: Matías Barletta <mrb@lionix.com>
- License: http://marcelog.github.com/PAMI/ Apache License 2.0
Synopsis
class VGSMSMSTxAction
extends ActionMessage
{
- // methods
- public void setTo()
- public void setContentType()
- public void setContentEncoding()
- public void setMe()
- public void setContent()
- public void setSmsClass()
- public void setConcatRefId()
- public void setConcatSeqNum()
- public void setConcatTotalMsg()
- public void setAccount()
- public void __construct()
- // Inherited methods from ActionMessage
- public void __construct()
- public void setActionID()
- // Inherited methods from OutgoingMessage
- public string|null getResponseHandler()
- public void setResponseHandler()
- // Inherited methods from Message
- public integer getCreatedDate()
- public void setVariable()
- public string getVariable()
- public string getKey()
- public string getBoolKey()
- public array getKeys()
- public array getVariables()
- public string serialize()
- public string getActionID()
- public void __construct()
Hierarchy
Constants
Name | Value |
---|---|
EOL | "\r\n" |
EOM | "\r\n\r\n" |
Methods
public
- __construct() — Constructor.
- setAccount() — Sets Account key.
- setConcatRefId() — Sets X-SMS-Concatenate-RefID . Optional. Should be set with setConcatSeqNum and setConcatSeqNum
- setConcatSeqNum() — Sets X-SMS-Concatenate-Sequence-Number. Optional. Should be set with setConcatSeqNum: setConcatTotalMsg
- setConcatTotalMsg() — Sets X-SMS-Concatenate-Total-Messages. Optional. Should be set with setConcatRefId and setConcatSeqNum
- setContent() — Sets $content - Message to send. Mandatory
- setContentEncoding() — Sets Content Type Encoding.Optional
- setContentType() — Sets Content Type. Optional
- setMe() — Sets Chip Id - It will use the chip_id provided.Optional
- setSmsClass() — Sets X-SMS-Class key. Optional
- setTo() — Sets CellPhone Number . Mandatory
Inherited from PAMI\Message\Action\ActionMessage
public
- setActionID() — Sets Action ID.
Inherited from PAMI\Message\OutgoingMessage
public
- getResponseHandler() — Returns the class name of the response handler.
- setResponseHandler() — Set the response handler.
Inherited from PAMI\Message\Message
public
- getActionID() — Returns key: 'ActionID'.
- getBoolKey() — Returns a key by name.
- getCreatedDate() — Returns created date.
- getKey() — Returns a key by name.
- getKeys() — Returns all keys for this message.
- getVariable() — Returns a variable by name.
- getVariables() — Returns all variabels for this message.
- serialize() — Gives a string representation for this message, ready to be sent to ami.
- setVariable() — Adds a variable to this message.