phpDocumentor PHP_Debug
[ class tree: PHP_Debug ] [ index: PHP_Debug ] [ all elements ]

Class: Debug_Line

Source Location: /sources/Debug.php

Class Debug_Line

Property Summary
static mixed   $debugLineLabels   Labels for debugline types
integer   $class   Class from witch the debug was called
float   $endTime   Exection end time for debug info
integer   $file   File of debug info
integer   $function   Function from wich the debug was called
string   $info   Properties that stores the non formatted debug information
integer   $line   Line of debug info
float   $startTime   Exection time for debug info
integer   $type   Type of the debug information

[ Top ]
Method Summary
Debug_Line   __construct()   PHP_DebugLine class constructor
void   __destruct()   Debug_Line class destructor
array   getProperties()   Getter of all properties of Debug_Line object
void   setEndTime()   setter of endTime
void   setTraceback()   Fills properties of debug line with backtrace informations
void   __tostring()   Debug_Line default output function

[ Top ]
Properties
static mixed   $debugLineLabels = array(
PHP_DEBUGLINE_ANY => 'ALL',
PHP_DEBUGLINE_STD => 'Standart',
PHP_DEBUGLINE_QUERY => 'Query',
PHP_DEBUGLINE_QUERYREL => 'Database related',
PHP_DEBUGLINE_ENV => 'Environment',
PHP_DEBUGLINE_APPERROR => 'Application error',
PHP_DEBUGLINE_CREDITS => 'Credits',
PHP_DEBUGLINE_SEARCH => 'Search',
PHP_DEBUGLINE_DUMP => 'Variable dump',
PHP_DEBUGLINE_PROCESSPERF => 'Performance analysis',
PHP_DEBUGLINE_TEMPLATES => 'Included files',
PHP_DEBUGLINE_PAGEACTION => 'Page main action',
PHP_DEBUGLINE_SQLPARSE => 'SQL parse error',
PHP_DEBUGLINE_WATCH => 'Watch',
PHP_DEBUGLINE_PHPERROR => 'PHP error'
)
[line 822]

Labels for debugline types

Labels for debugline types


[ Top ]
integer   $class [line 879]

Class from witch the debug was called

Class from witch the debug was called

API Tags:
Access:  private

Information Tags:
Since:  V2.0.0 - 13 apr 2006

[ Top ]
float   $endTime [line 905]

Exection end time for debug info

Exection end time for debug info

API Tags:
Access:  private
See:  Debug::stopTimer(), Debug_Line::setEndTime()

Information Tags:
Since:  V2.0.0 - 16 apr 2006

[ Top ]
integer   $file [line 863]

File of debug info

File of debug info

API Tags:
Access:  private

Information Tags:
Since:  V2.0.0 - 11 apr 2006

[ Top ]
integer   $function [line 887]

Function from wich the debug was called

Function from wich the debug was called

API Tags:
Access:  private

Information Tags:
Since:  V2.0.0 - 11 apr 2006

[ Top ]
string   $info [line 846]

Properties that stores the non formatted debug information

Properties that stores the non formatted debug information

API Tags:
Access:  private

Information Tags:
Since:  V2.0.0 - 11 apr 2006

[ Top ]
integer   $line [line 871]

Line of debug info

Line of debug info

API Tags:
Access:  private

Information Tags:
Since:  V2.0.0 - 11 apr 2006

[ Top ]
float   $startTime [line 896]

Exection time for debug info

Exection time for debug info

API Tags:
Access:  private
See:  stopTimer()

Information Tags:
Since:  V2.0.0 - 16 apr 2006

[ Top ]
integer   $type [line 855]

Type of the debug information

Type of the debug information

API Tags:
Access:  private
See:  Debug_Line constants

Information Tags:
Since:  V2.0.0 - 11 apr 2006

[ Top ]
Methods
Constructor __construct  [line 917]

  Debug_Line __construct( $info, [ $type = PHP_DEBUGLINE_DEFAULT]  )

PHP_DebugLine class constructor

PHP_DebugLine class constructor Here it is set :

  • the start time of the debug info
  • the traceback information

Parameters:
   $info: 
   $type: 

API Tags:
See:  Debug::add()

Information Tags:
Since:  V2.0.0 - 11 apr 2006

[ Top ]
Destructor __destruct  [line 994]

  void __destruct( )

Debug_Line class destructor

Debug_Line class destructor


Information Tags:
Since:  V2.0.0 - 11 apr 2006

[ Top ]
getProperties  [line 954]

  array getProperties( )

Getter of all properties of Debug_Line object

Getter of all properties of Debug_Line object


API Tags:
Return:  Array containg all the properties of the debugline
Access:  public

Information Tags:
Since:  V2.0.0 - 21 apr 2006

[ Top ]
setEndTime  [line 973]

  void setEndTime( $endTime  )

setter of endTime

setter of endTime

Parameters:
   $endTime: 

API Tags:
Access:  public

Information Tags:
Since:  V2.0.0 - 19 apr 2006

[ Top ]
setTraceback  [line 930]

  void setTraceback( )

Fills properties of debug line with backtrace informations

Fills properties of debug line with backtrace informations


API Tags:
Access:  protected

Information Tags:
Since:  @since V2.0.0 - 15 apr 2006

[ Top ]
__tostring  [line 984]

  void __tostring( )

Debug_Line default output function

Debug_Line default output function


API Tags:
See:  Debug::dumpVar()

Information Tags:
Since:  V2.0.0 - 11 apr 2006

[ Top ]

Documentation generated on Thu, 07 Sep 2006 00:36:18 +0200 by phpDocumentor 1.3.0