contenido\classes\Debug\Debug_File.class.php
Project:
Contenido Content Management System
Description: Debug object to write info to a file. In case you cannot output directly to screen when debugging a live system, this object writes the info to a file located in /contenido/logs/debug.log.
Requirements:
- Author
- Rudi Bieller
- Con_php_req
- 5.0
- Copyright
- four for business AG
- License
- http://www.contenido.org/license/LIZENZ.txt
- Link
- http://www.4fb.de
- Link
- {@internal created 2007-01-01 modified 2008-05-21 Added methods add(), reset(), showAll() modified 2010-05-20 Murat Purc, Hey, last change was nearly 2 years ago ;-)... Fixed generated warnings, see [#CON-309] $Id: Debug_File.class.php 1158 2010-05-20 16:10:48Z xmurrix $: }}
- Package
- Contenido Backend classes
- Version
- 1.1.1
\Debug_File
Package: Default

- Implements
- \IDebug
Properties
Methods


add(mixed $mVariable, string $sVariableDescription = '') : void
Interface implementation
Parameters
Details
Name | Type | Description |
---|---|---|
$mVariable | mixed | |
$sVariableDescription | string |
- Access
- public


show(mixed $mVariable, string $sVariableDescription = '', boolean $bExit = false) : void
Outputs contents of passed variable in a preformatted, readable way
Parameters
Details
Name | Type | Description |
---|---|---|
$mVariable | mixed | The variable to be displayed |
$sVariableDescription | string | The variable's name or description |
$bExit | boolean | If set to true, your app will die() after output of current var |
- Access
- public