Class GatewaySender

(line 21)
Base
   |
   --GatewaySender

Located in File: Program_Root/sdk/GatewaySender.php


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

Sample SMS sender class for sending SMS.


Class Variable Summary

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 GatewaySender ( )
void sendSimpleSMS ( $to, $message )
Sends a simple sms and checks the response from the gateway
void sendSMS ( $sms )
Sends an SMS and checks 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 GatewaySender

(line 25)

void GatewaySender( )


Function Info:

[ Top ]


sendSimpleSMS

(line 35)

void sendSimpleSMS( string $to, string $message)

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

[ Top ]


sendSMS

(line 49)

void sendSMS( Sms $sms)

Sends an SMS and checks the response from the gateway
Function Parameters:
- Sms $sms: Sms object
Function Info:

[ Top ]



Variable Detail


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