Class Client

(line 26)
Base
   |
   --Client

Located in File: Program_Root/sdk/client/Client.php


$Id: Client.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $

This class is used to send an SMS to the gateway.

The SMS is validated before sending to gateway, if the Sms does not meet the requirements a response is sent back without sending the message to the gateway.


Class Variable Summary
$__socket
Default Value: -><-

Inherited Class Variable Summary
Inherited From Class Base
Variable Default Value Description
Base::$clazz -> <-
Base::$logFile -> _DEBUG_FILE <-
Base::$loglevel -> _DEBUG_LEVEL <- debug - logstatements above and including 'debug' are printed.
Base::$loglevels ->array ("debug" => 0, "info" => 1, "warn" => 2, "fatal" => 3) <-
Base::$logoutput -> _DEBUG_OUTPUT <- 0 - log to screen
Base::$method -> <-

Method Summary
void constructor Client ( )
void invalidMessage ( )
void invalidMobile ( )
SendResponse send ( $sms )
Sends a simple sms and returns the response from the gateway
Inherited Method Summary
Inherited From Class Base
Function Description
Base::Base()
Base::dbg()
Base::formatLongDate()
Base::formatLongDateTime()
Base::formatShortDate()
Base::formatShortDateTime()
Base::logDebug()
Base::logFatal()
Base::logInfo()
Base::logWarn()
Base::registerClass()
Base::registerMethod()
Base::setLoglevel()
Base::toFile()
Base::toScreen()

Method Detail

Constructor Client

(line 32)

void Client( )


Function Info:

[ Top ]


invalidMessage

(line 73)

void invalidMessage( )


Function Info:

[ Top ]


invalidMobile

(line 64)

void invalidMobile( )


Function Info:

[ Top ]


send

(line 44)

SendResponse send( mixed $sms, string $to, string $message)

Sends a simple sms and returns the response from the gateway
Function Parameters:
- string $to: recipient mobilephonenumber
- string $message: message to send.
Function Info:

[ Top ]



Variable Detail

$__socket

(line 30)
Data type: mixed

[ Top ]



Documention generated on Mon, 31 Mar 2003 10:17:43 +0200 by phpDocumentor 1.2.0rc1