dBug Class Reference

List of all members.

Public Member Functions

 dBug ($var, $forceType="")
 makeTableHeader ($type, $header, $colspan=2)
 makeTDHeader ($type, $header)
 closeTDRow ()
 error ($type)
 checkType ($var)
 varIsBoolean ($var)
 varIsArray ($var)
 varIsObject ($var)
 varIsResource ($var)
 varIsXml ($var)
 varIsXmlResource ($var)
 xmlParse ($xml_parser, $data, $bFinal)
 xmlStartElement ($parser, $name, $attribs)
 xmlEndElement ($parser, $name)
 xmlCharacterData ($parser, $data)
 xmlDefaultHandler ($parser, $data)
 varIsDBResource ($var, $db="mysql")
 varIsGDResource ($var)

Public Attributes

 $xmlDepth = array()
 $xmlCData
 $xmlSData
 $xmlDData
 $xmlCount = 0
 $xmlAttrib
 $xmlName
 $arrType = array("array","object","resource","boolean")

Detailed Description

Var Dump class. This class Dumps/Displays the contents of a variable in a colored tabular format Based on the idea, javascript and css code of Macromedia's ColdFusion cfdump tag A much better presentation of a variable's contents than PHP's var_dump and print_r functions

Thanks to Andrew Hewitt (rudebwoy@hotmail.com) for the idea and suggestion

All the credit goes to ColdFusion's brilliant cfdump tag Hope the next version of PHP can implement this or have something similar

Author:
Kwaku Otchere [ospinto@hotmail.com] [http://dbug.ospinto.com]
version
Id$

Maintainers
Vilson Cristiano Gartner [vilson@solis.coop.br]

Since:
Introduced in MIOLO on July,25 2006

SOLIS - Cooperativa de Soluções Livres
The MIOLO development team

Copyleft
Copyleft (L) 2006 - SOLIS - Cooperativa de Soluções Livres

License
Licensed under GPL (for further details read the COPYING file or http://www.gnu.org/copyleft/gpl.html )

History
See history in SVN repository

Definition at line 129 of file dbug.class.


Member Function Documentation

dBug::dBug ( var,
forceType = "" 
)

Definition at line 141 of file dbug.class.

References checkType().

Here is the call graph for this function:

dBug::makeTableHeader ( type,
header,
colspan = 2 
)

Definition at line 150 of file dbug.class.

Referenced by varIsArray(), varIsDBResource(), varIsGDResource(), varIsObject(), varIsResource(), varIsXmlResource(), and xmlStartElement().

Here is the caller graph for this function:

dBug::makeTDHeader ( type,
header 
)

Definition at line 158 of file dbug.class.

Referenced by varIsArray(), varIsGDResource(), varIsObject(), varIsXmlResource(), xmlEndElement(), and xmlStartElement().

Here is the caller graph for this function:

dBug::closeTDRow (  ) 

Definition at line 165 of file dbug.class.

Referenced by varIsResource(), varIsXmlResource(), xmlEndElement(), and xmlStartElement().

Here is the caller graph for this function:

dBug::error ( type  ) 

Definition at line 170 of file dbug.class.

Referenced by varIsXmlResource().

Here is the caller graph for this function:

dBug::checkType ( var  ) 

Definition at line 180 of file dbug.class.

References varIsArray(), varIsBoolean(), varIsObject(), and varIsResource().

Referenced by dBug(), varIsArray(), and varIsObject().

Here is the call graph for this function:

Here is the caller graph for this function:

dBug::varIsBoolean ( var  ) 

Definition at line 207 of file dbug.class.

Referenced by checkType().

Here is the caller graph for this function:

dBug::varIsArray ( var  ) 

Definition at line 213 of file dbug.class.

References checkType(), makeTableHeader(), and makeTDHeader().

Referenced by checkType(), and xmlStartElement().

Here is the call graph for this function:

Here is the caller graph for this function:

dBug::varIsObject ( var  ) 

Definition at line 233 of file dbug.class.

References checkType(), makeTableHeader(), and makeTDHeader().

Referenced by checkType().

Here is the call graph for this function:

Here is the caller graph for this function:

dBug::varIsResource ( var  ) 

Definition at line 258 of file dbug.class.

References closeTDRow(), makeTableHeader(), varIsDBResource(), varIsGDResource(), and varIsXmlResource().

Referenced by checkType().

Here is the call graph for this function:

Here is the caller graph for this function:

dBug::varIsXml ( var  ) 

Definition at line 286 of file dbug.class.

References varIsXmlResource().

Here is the call graph for this function:

dBug::varIsXmlResource ( var  ) 

Definition at line 291 of file dbug.class.

References closeTDRow(), error(), makeTableHeader(), makeTDHeader(), and xmlParse().

Referenced by varIsResource(), and varIsXml().

Here is the call graph for this function:

Here is the caller graph for this function:

dBug::xmlParse ( xml_parser,
data,
bFinal 
)

Definition at line 324 of file dbug.class.

Referenced by varIsXmlResource().

Here is the caller graph for this function:

dBug::xmlStartElement ( parser,
name,
attribs 
)

Definition at line 333 of file dbug.class.

References closeTDRow(), makeTableHeader(), makeTDHeader(), and varIsArray().

Here is the call graph for this function:

dBug::xmlEndElement ( parser,
name 
)

Definition at line 349 of file dbug.class.

References closeTDRow(), and makeTDHeader().

Here is the call graph for this function:

dBug::xmlCharacterData ( parser,
data 
)

Definition at line 367 of file dbug.class.

dBug::xmlDefaultHandler ( parser,
data 
)

Definition at line 376 of file dbug.class.

dBug::varIsDBResource ( var,
db = "mysql" 
)

Definition at line 387 of file dbug.class.

References makeTableHeader().

Referenced by varIsResource().

Here is the call graph for this function:

Here is the caller graph for this function:

dBug::varIsGDResource ( var  ) 

Definition at line 415 of file dbug.class.

References makeTableHeader(), and makeTDHeader().

Referenced by varIsResource().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

dBug::$xmlDepth = array()

Definition at line 131 of file dbug.class.

dBug::$xmlCData

Definition at line 132 of file dbug.class.

dBug::$xmlSData

Definition at line 133 of file dbug.class.

dBug::$xmlDData

Definition at line 134 of file dbug.class.

dBug::$xmlCount = 0

Definition at line 135 of file dbug.class.

dBug::$xmlAttrib

Definition at line 136 of file dbug.class.

dBug::$xmlName

Definition at line 137 of file dbug.class.

dBug::$arrType = array("array","object","resource","boolean")

Definition at line 138 of file dbug.class.


The documentation for this class was generated from the following file:
CopyLeft (L) 2001-2006 - [MIOLO Development Team] SOLIS - Cooperativa de Soluções Livres - Lajeado/RS - Brasil