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

Class: PHP_DebugLine

Source Location: /PHP_Debug-1.0.3/PHP/DebugLine.php

Class Overview


A loader class for the renderers.


Author(s):

Version:

  • CVS: $Id: DebugLine.php,v 1.1 2008/05/02 14:26:37 c0il Exp $

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 16]
A loader class for the renderers.


[ Top ]


Class Variables

$class =

[line 125]

Class from witch the debug was called
  • Since: V2.0.0 - 13 apr 2006
  • Access: protected

Type:   integer


[ Top ]

$debugLineLabels = array(
        self::TYPE_ANY         => 'ALL', 
        self::TYPE_STD         => 'Standart',
        self::TYPE_QUERY       => 'Query', 
        self::TYPE_QUERYREL    => 'Database related',
        self::TYPE_ENV         => 'Environment',
        self::TYPE_APPERROR    => 'Application error',
        self::TYPE_CREDITS     => 'Credits',
        self::TYPE_SEARCH      => 'Search',
        self::TYPE_DUMP        => 'Variable dump',
        self::TYPE_PROCESSPERF => 'Performance analysis',
        self::TYPE_TEMPLATES   => 'Included files',
        self::TYPE_PAGEACTION  => 'Page main action',
        self::TYPE_SQLPARSE    => 'SQL parse error',
        self::TYPE_WATCH       => 'Watch',
        self::TYPE_PHPERROR    => 'PHP error'
    )

[line 68]

Labels for debugline types
  • Access: public

Type:   mixed


[ Top ]

$endTime =

[line 151]

Exection end time for debug info

Type:   float


[ Top ]

$file =

[line 109]

File of debug info
  • Since: V2.0.0 - 11 apr 2006
  • Access: protected

Type:   integer


[ Top ]

$function =

[line 133]

Function from wich the debug was called
  • Since: V2.0.0 - 11 apr 2006
  • Access: protected

Type:   integer


[ Top ]

$info =

[line 92]

Properties that stores the non formatted debug information
  • Since: V2.0.0 - 11 apr 2006
  • Access: protected

Type:   string


[ Top ]

$line =

[line 117]

Line of debug info
  • Since: V2.0.0 - 11 apr 2006
  • Access: protected

Type:   integer


[ Top ]

$startTime =

[line 142]

Exection time for debug info
  • See: stopTimer()
  • Since: V2.0.0 - 16 apr 2006
  • Access: protected

Type:   float


[ Top ]

$type =

[line 101]

Type of the debug information
  • See: Debug_Line constants
  • Since: V2.0.0 - 11 apr 2006
  • Access: protected

Type:   integer


[ Top ]



Method Detail

getDebugLabel   [line 266]

void getDebugLabel( $type)

Function that give the debug type lable
  • Author: COil
  • Since: V2.0.0 - 2 apr 2007
  • Access: public

Parameters:

   $type   — 

[ Top ]

getProperties   [line 206]

array getProperties( )

Getter of all properties of Debug_Line object
  • Return: Array containg all the properties of the debugline
  • Since: V2.0.0 - 21 apr 2006
  • Access: public

[ Top ]

setEndTime   [line 225]

void setEndTime( [ $endTime = ''])

setter of endTime
  • Since: V2.0.0 - 19 apr 2006
  • Access: public

Parameters:

   $endTime   — 

[ Top ]

setStartTime   [line 237]

void setStartTime( [ $startTime = ''])

setter of startTime

Parameters:

   $startTime   — 

[ Top ]

setTraceback   [line 176]

void setTraceback( )

Fills properties of debug line with backtrace informations
  • Since: V2.0.0 - 15 apr 2006
  • Access: protected

[ Top ]

__construct (Constructor)   [line 163]

PHP_DebugLine __construct( $info, [ $type = self::TYPE_DEFAULT])

PHP_DebugLine class constructor

Here it is set :

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

  • See: PHP_Debug::add()
  • Since: V2.0.0 - 11 apr 2006
  • Access: public

Parameters:

   $info   — 
   $type   — 

[ Top ]

__toString   [line 248]

void __toString( )

Debug_Line default output function
  • See: PHP_Debug::dumpVar()
  • Since: V2.0.0 - 11 apr 2006
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:28:39 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.