\Horde_Smtp_Debug

Handles debugging output for a Horde_Smtp object.

NOTE: This class is NOT intended to be accessed outside of the Smtp package. There is NO guarantees that the API of this class will not change across versions.

Summary

Methods
Properties
Constants
__construct()
shutdown()
client()
info()
raw()
server()
$active
SLOW_CMD
_write()
$_stream
$_time
N/A
No private methods found
No private properties found
N/A

Constants

SLOW_CMD

SLOW_CMD

Properties

$active

$active : boolean

Is debugging active?

Type

boolean

$_stream

$_stream : resource

The debug stream.

Type

resource

$_time

$_time : integer

Timestamp of last command.

Type

integer

Methods

__construct()

__construct(mixed  $debug) 

Constructor.

Parameters

mixed $debug

The debug target.

shutdown()

shutdown() 

Shutdown function.

client()

client(string  $msg, boolean  $eol = true) 

Write client output to debug log.

Parameters

string $msg

Debug message.

boolean $eol

Output EOL?

info()

info(string  $msg) 

Write informational message to debug log.

Parameters

string $msg

Debug message.

raw()

raw(string  $msg) 

Write server output to debug log.

Parameters

string $msg

Debug message.

server()

server(string  $msg) 

Write server output to debug log.

Parameters

string $msg

Debug message.

_write()

_write(string  $msg, string  $pre = null) 

Write debug information to the output stream.

Parameters

string $msg

Debug data.

string $pre

Prefix.