SMSFly

Extends \AppModel

SMSFly Model

package

SMSFlySource

subpackage

Model

Methods

Return current money balance

getBalance() : float|false

Response

float|false

Get details

getDetails(integer $id) : array|false

Arguments

$id

integer

Response

array|false

Get info

getInfo(integer $id) : array|false

Arguments

$id

integer

Response

array|false

Get message status

getMessageStatus(integer $id, integer|string $recipient) : array|false

Arguments

$id

integer

$recipient

integer|string

Response

array|false

Send sms

sendSMS(string $source, array $messages, string $desc = null, integer $rate = null, integer $lifetime = null, string $endTime = null, string $startTime = null) : array|false

Arguments

$source

string

$messages

array

$desc

string

$rate

integer

$lifetime

integer

$endTime

string

$startTime

string

Response

array|false

Properties

{@inheritdoc}

name : string
var

Type(s)

string

{@inheritdoc}

useTable : boolean
var

Type(s)

boolean

{@inheritdoc}

useDbConfig : string
var

Type(s)

string