downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<SAMConnection->send()SAMConnection->subscribe()>
Last updated: Thu, 26 Jun 2008

SAMConnection::setDebug()

(No version information available, might be only in CVS)

SAMConnection::setDebug() — Turn on or off additional debugging output.

Description

The "setdebug" method is used to turn on or off additional debugging output. The SAM framework will provide method/function entry and exit trace data plus additional information. Protocol specific implementations also provide extra output.

SAMConnection
void send ( bool $switch )

Parameters

switch

If this parameter is set to TRUE additional debugging output will be provided. If the value is set to FALSE output of additional information will be stopped.

Examples

Example #1 Turn on debugging output

<?php
$conn
->setdebug(TRUE);
?>

Example #2 Turn off debugging output

<?php
$conn
->setdebug(FALSE);
?>



add a noteadd a note User Contributed Notes
Turn on or off additional debugging output.
There are no user contributed notes for this page.




<SAMConnection->send()SAMConnection->subscribe()>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs