Overview

Namespaces

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

Classes

  • Client
  • Overview
  • Namespace
  • Class

Class Client

Class Client

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

Parameters

$username
public
# setUsername( $username )

Set the username used to authenticate the user.

Set the username used to authenticate the user.

Parameters

$username
string

Returns


$this

Throws

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

Set password encoded with md5 algorithm.

Set password encoded with md5 algorithm.

Parameters

$password

Returns


$this

Throws

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

Set password in plain text.

Set password in plain text.

Parameters

$password

Returns


$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
SMSAPI Api Client API documentation generated by ApiGen