Overview

Namespaces

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

Classes

  • Client
  • Overview
  • Namespace
  • Class
  • Tree

Class Client

Class Client

Namespace: SMSApi
Package: SMSApi
Located at Client.php
Methods summary
public
# __construct( mixed $username )

Parameters

$username
mixed
$username
public mixed
# setUsername( mixed $username )

Set the username used to authenticate the user.

Set the username used to authenticate the user.

Parameters

$username
mixed
$username string

Returns

mixed
$this

Throws

SMSApi\Exception\ClientException
public mixed
# setPasswordHash( mixed $password )

Set password encoded with md5 algorithm.

Set password encoded with md5 algorithm.

Parameters

$password
mixed
$password

Returns

mixed
$this

Throws

SMSApi\Exception\ClientException
public mixed
# setPasswordRaw( mixed $password )

Set password in plain text.

Set password in plain text.

Parameters

$password
mixed
$password

Returns

mixed
$this

Throws

SMSApi\Exception\ClientException
public string
# getUsername( )

Returns the username used to authenticate the user.

Returns the username used to authenticate the user.

Returns

string
The username
public string
# getPassword( )

Returns password

Returns password

Returns

string
The salt password
API documentation generated by ApiGen 2.8.0