Overview

Namespaces

  • SMSApi
    • Api
      • Action
        • Mms
        • Phonebook
        • Sender
        • Sms
        • User
        • Vms
      • Response
    • Exception
    • Proxy
      • Http

Classes

  • Delete
  • Get
  • Send
  • Overview
  • Namespace
  • Class

Class Send

Class Send

SMSApi\Api\Action\AbstractAction
Extended by SMSApi\Api\Action\Mms\Send
Namespace: SMSApi\Api\Action\Mms
Package: SMSApi\Api\Action\Mms
Located at Api/Action/Mms/Send.php
Methods summary
protected SMSApi\Api\Response\StatusResponse
# response( $data )

Parameters

$data

Returns

SMSApi\Api\Response\StatusResponse
public SMSApi\Proxy\Uri
# uri( )

Returns

SMSApi\Proxy\Uri

Throws

SMSApi\Exception\ActionException
public
# setTo( $to )

Set mobile phone number of the recipients.

Set mobile phone number of the recipients.

Parameters

$to
phone number

Returns


$this
public
# setGroup( string $group )

Set name of the group from the phone book to which message should be sent.

Set name of the group from the phone book to which message should be sent.

Parameters

$group
group name

Returns


$this
public
# setDateSent( $date )

Set scheduled date sending message.

Set scheduled date sending message.

Setting a past date will result in sending message instantly.

Parameters

$date

Returns


$this
public
# setIDx( string|array $idx )

Set optional custom value sent with SMS and sent back in CALLBACK.

Set optional custom value sent with SMS and sent back in CALLBACK.

Parameters

$idx

Returns


$this
public
# setCheckIDx( boolean $check )

Set checking idx is unique.

Set checking idx is unique.

Prevents from sending more than one message with the same idx. When this parameter is set and message with the same idx was already sent error 53 is returned.

Parameters

$check

Returns


$this
public
# setPartner( string $partner )

Set affiliate code.

Set affiliate code.

Parameters

$partner
affiliate code

Returns


$this
public
# setSubject( string $subject )

Set message subject.

Set message subject.

Parameters

$subject
subject of message

Returns


$this
public
# setSmil( string $smil )

Set MMS smill.

Set MMS smill.

Parameters

$smil
xml smill

Returns


$this
Methods inherited from SMSApi\Api\Action\AbstractAction
__construct(), client(), execute(), file(), handleError(), paramsBasicToQuery(), paramsLoginToQuery(), paramsOther(), proxy(), renderTo(), setJson(), setTest()
Magic methods summary
public SMSApi\Api\Response\StatusResponse
# execute( )

Returns

SMSApi\Api\Response\StatusResponse
Properties inherited from SMSApi\Api\Action\AbstractAction
$client, $date, $encoding, $group, $idx, $params, $proxy, $to
SMSAPI Api Client API documentation generated by ApiGen