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

Class: Dot_Debug

Source Location: /library/Dot/Debug.php

Class Overview


Few useful debugging functions .


Author(s):

Variables

Methods



Class Details

[line 20]
Few useful debugging functions .

Few useful debugging functions . Planned to be replaced by ZfDebug version




Tags:

author:  DotKernel Team <team@dotkernel.com>


[ Top ]


Class Variables

$allow_db_details =  true

[line 40]

Allow display for db details

Allow display for db details




Tags:

access:  public

Type:   bool


[ Top ]

$db_debug =  true

[line 27]

Display debugger for db

Display debugger for db




Tags:

access:  public

Type:   bool


[ Top ]

$db_details =  false

[line 34]

Display details for db debugger on 1st load - if false,

Display details for db debugger on 1st load - if false, the user will need to click on the div to see details




Tags:

access:  public

Type:   bool


[ Top ]

$memory_usage =  true

[line 52]

Show or not memory usage box

Show or not memory usage box




Tags:

access:  public

Type:   bool


[ Top ]

$total_time =  true

[line 46]

Show or not total time box

Show or not total time box




Tags:

access:  public

Type:   bool


[ Top ]



Class Methods


constructor __construct [line 60]

Dot_Debug __construct( Zend_Db $db, Dot_Template $tpl)

Constructor

Constructor




Tags:

access:  public


Parameters:

Zend_Db   $db  
Dot_Template   $tpl  

[ Top ]

method endTimer [line 81]

string endTimer( )

Count the end time

Count the end time




Tags:

access:  private


[ Top ]

method numberFormat [line 100]

string numberFormat( int $number, [bool $miliseconds = false])

Format the number, show miliseconds

Format the number, show miliseconds




Tags:

access:  private


Parameters:

int   $number  
bool   $miliseconds   [optional]

[ Top ]

method show [line 114]

void show( )

Display the debug variables

Display the debug variables




Tags:

access:  public


[ Top ]

method showDbDebug [line 165]

void showDbDebug( )

Display DB querys for debug

Display DB querys for debug




Tags:

access:  private


[ Top ]

method showDotVersion [line 277]

void showDotVersion( )

Display DotKernel version

Display DotKernel version




Tags:

access:  public


[ Top ]

method showMemoryUsage [line 246]

void showMemoryUsage( )

Display memory usage

Display memory usage




Tags:

access:  public


[ Top ]

method showPHPVersion [line 267]

void showPHPVersion( )

Display PHP version

Display PHP version




Tags:

access:  public


[ Top ]

method showTotalTime [line 155]

void showTotalTime( )

Display total time

Display total time




Tags:

access:  private


[ Top ]

method showZFVersion [line 257]

void showZFVersion( )

Display ZF Version

Display ZF Version




Tags:

access:  public


[ Top ]

method __set [line 72]

void __set( string $propriety, object $value)

Set magic method

Set magic method




Tags:

access:  public


Parameters:

string   $propriety  
object   $value  

[ Top ]


Documentation generated on Wed, 21 Jul 2010 07:34:39 +0000 by phpDocumentor 1.4.3