Overview

Namespaces

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

Classes

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

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( mixed $data )

Parameters

$data
mixed
$data

Returns

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

Returns

SMSApi\Proxy\Uri

Throws

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

Set mobile phone number of the recipients.

Set mobile phone number of the recipients.

Parameters

$to
mixed
$to array|string phone number

Returns

mixed
$this
public mixed
# 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
string
$group group name

Returns

mixed
$this
public mixed
# setDateSent( mixed $date )

Set scheduled date sending message.

Set scheduled date sending message.

Setting a past date will result in sending message instantly.

Parameters

$date
mixed
$date

Returns

mixed
$this
public mixed
# 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
string|array
$idx

Returns

mixed
$this
public mixed
# 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
boolean
$check

Returns

mixed
$this
public mixed
# setPartner( string $partner )

Set affiliate code.

Set affiliate code.

Parameters

$partner
string
$partner affiliate code

Returns

mixed
$this
public mixed
# setSubject( string $subject )

Set message subject.

Set message subject.

Parameters

$subject
string
$subject subject of message

Returns

mixed
$this
public mixed
# setSmil( string $smil )

Set MMS smill.

Set MMS smill.

Parameters

$smil
string
$smil xml smill

Returns

mixed
$this
Methods inherited from SMSApi\Api\Action\AbstractAction
__construct(), client(), execute(), file(), handleError(), paramsBasicToQuery(), paramsLoginToQuery(), paramsOther(), proxy(), renderTo(), setJson(), setTest()
Properties inherited from SMSApi\Api\Action\AbstractAction
$client, $date, $encoding, $group, $idx, $params, $proxy, $to
SMSAPI api client API documentation generated by ApiGen 2.8.0