contenido\classes\Debug\Debug_File.class.php

Show: PublicProtectedPrivateinherited
Table of Contents
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

>VPropertyprivate$_hFileHandle
static
Details
Type
n/a
>VPropertyprivate$_instance
static
Details
Type
n/a
>VPropertyprivate$_sFileName
Details
Type
n/a
>VPropertyprivate$_sPathToFile
Details
Type
n/a
>VPropertyprivate$_sPathToLogs
Details
Type
n/a

Methods

methodprivate__construct() : void

Constructor Opens filehandle for debug-logfile

Details
Access
private  
methodpublic__destruct() : void

Closes file handle upon destruction of object

Details
Access
public  
methodpublicadd(mixed $mVariable, string $sVariableDescription = '') : void

Interface implementation

Parameters
NameTypeDescription
$mVariablemixed
$sVariableDescriptionstring
Details
Access
public  
methodpublicgetInstance() : void
static

static

Details
Access
public  
methodpublicreset() : void

Interface implementation

Details
Access
public  
methodpublicshow(mixed $mVariable, string $sVariableDescription = '', boolean $bExit = false) : void

Outputs contents of passed variable in a preformatted, readable way

Parameters
NameTypeDescription
$mVariablemixed

The variable to be displayed

$sVariableDescriptionstring

The variable's name or description

$bExitboolean

If set to true, your app will die() after output of current var

Details
Access
public  
methodpublicshowAll() : string

Interface implementation

Returns
TypeDescription
stringHere an empty string
Details
Access
public  
Documentation was generated by phpDocumentor 2.0.0a12.