Class Base
(line 19)
Classes extended from Base:
- Client
- $Id: Client.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $
- GatewayListener
- $Id: GatewayListener.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $
- Server
- $Id: Server.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $
- ClientSocket
- $Id: ClientSocket.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $
- ServerSocket
- $Id: ServerSocket.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $
- SendResponse
- $Id: SendResponse.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $
- SendRequest
- $Id: SendRequest.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $
- Request
- $Id: Request.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $
- Response
- $Id: Response.php,v 1.1.1.1 2003/03/27 10:27:43 maro Exp $
- Notification
- $Id: Notification.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $
- Sms
- $Id: Sms.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $
- GatewaySender
- $Id: GatewaySender.php,v 1.1.1.1 2003/03/27 10:27:42 maro Exp $
Located in File: Program_Root/base/Base.php
$Id: Base.php,v 1.1.1.1 2003/03/27 10:27:43 maro Exp $
This class provides some basic utility methods used by most of the classes in the PHP-SDK package.
- author -
Magnus Rosenquist, Zyneo
Class Variable Summary
|
$clazz
Default Value: -><-
|
$logFile
Default Value: -> _DEBUG_FILE<-
|
$loglevel
debug - logstatements above and including 'debug' are printed.
Default Value: -> _DEBUG_LEVEL<-
|
$loglevels
Default Value: ->array ("debug" => 0,
"info" => 1,
"warn" => 2,
"fatal" => 3)<-
|
$logoutput
0 - log to screen
Default Value: -> _DEBUG_OUTPUT<-
|
$method
Default Value: -><-
|
Inherited Class Variable Summary
|
Constructor Base
(line 43)
void Base(
)
- Function Info:
[ Top ]
dbg
(line 97)
void dbg(
mixed
$msg, mixed
$type)
- Function Info:
[ Top ]
formatLongDate
(line 145)
void formatLongDate(
mixed
$date)
- Function Info:
[ Top ]
formatLongDateTime
(line 151)
void formatLongDateTime(
mixed
$date)
- Function Info:
[ Top ]
formatShortDate
(line 133)
void formatShortDate(
mixed
$date)
- Function Info:
[ Top ]
formatShortDateTime
(line 139)
void formatShortDateTime(
mixed
$date)
- Function Info:
[ Top ]
logDebug
(line 75)
void logDebug(
mixed
$msg)
- Function Info:
[ Top ]
logFatal
(line 89)
void logFatal(
mixed
$msg)
- Function Info:
[ Top ]
logInfo
(line 67)
void logInfo(
mixed
$msg)
- Function Info:
[ Top ]
logWarn
(line 82)
void logWarn(
mixed
$msg)
- Function Info:
[ Top ]
registerClass
(line 49)
void registerClass(
mixed
$clazz)
- Function Info:
[ Top ]
registerMethod
(line 55)
void registerMethod(
mixed
$method)
- Function Info:
[ Top ]
setLoglevel
(line 61)
void setLoglevel(
[mixed
$level = "info"])
- Function Info:
[ Top ]
toFile
(line 116)
void toFile(
mixed
$msg, mixed
$type)
- Function Info:
[ Top ]
toScreen
(line 110)
void toScreen(
mixed
$msg)
- Function Info:
[ Top ]
$clazz
(line 22)
Data type: mixed
[ Top ]
$logFile
(line 41)
Data type: mixed
[ Top ]
$loglevel
(line 30)
Data type: mixed
debug - logstatements above and including 'debug' are printed.
info - logstatements above and including 'info' are printed. warn - logstatements above and including 'warn' are printed. fatal - logstatements above and including 'warn' are printed.
[ Top ]
$loglevels
(line 31)
Data type: mixed
[ Top ]
$logoutput
(line 40)
Data type: mixed
0 - log to screen
1 - log to file 2 - log to file and screen
[ Top ]
$method
(line 23)
Data type: mixed
[ Top ]