library/Dot/Debug.php
Properties
Description
DotBoost Technologies Inc.
DotKernel Application Framework
Classes
Dot_Debug
Properties
No
No
Description
Few useful debugging functions . Planned to be replaced by ZfDebug version
Methods
__construct,
__set,
_endTimer,
_numberFormat,
_showDbDebug,
_showTotalTime,
show,
showDotVersion,
showMemoryUsage,
showPHPVersion,
showZFVersion,
Description
Constructor
Arguments
Return value
Tags
Name |
Description |
access |
public |
__set(
string
$propriety,
object
$value,
)
:
void
Description
Set magic method
Arguments
Name |
Type |
Description |
Default |
$propriety |
string |
|
|
$value |
object |
|
|
Return value
Tags
Name |
Description |
access |
public |
_endTimer(
)
:
string
Description
Count the end time
Return value
Tags
Name |
Description |
access |
private |
_numberFormat(
int
$number,
bool
$miliseconds
= false,
)
:
string
Description
Format the number, show miliseconds
Arguments
Name |
Type |
Description |
Default |
$number |
int |
|
|
$miliseconds |
bool |
[optional] |
false |
Return value
Tags
Name |
Description |
access |
private |
_showDbDebug(
)
:
void
Description
Display DB querys for debug
Return value
Tags
Name |
Description |
access |
private |
_showTotalTime(
)
:
void
Description
Display total time
Return value
Tags
Name |
Description |
access |
private |
show(
)
:
void
Description
Display the debug variables
Return value
Tags
Name |
Description |
access |
public |
showDotVersion(
)
:
void
Description
Display DotKernel version
Return value
Tags
Name |
Description |
access |
public |
showMemoryUsage(
)
:
void
Description
Display memory usage
Return value
Tags
Name |
Description |
access |
public |
showPHPVersion(
)
:
void
Description
Display PHP version
Return value
Tags
Name |
Description |
access |
public |
showZFVersion(
)
:
void
Description
Display ZF Version
Return value
Tags
Name |
Description |
access |
public |
Properties
$allow_db_details,
$db_debug,
$db_details,
$memory_usage,
$total_time,
public
$allow_db_details
=
true
Allow display for db detailsbool
public
$db_debug
=
true
Display debugger for dbbool
public
$db_details
=
false
Display details for db debugger on 1st load - if false,
the user will need to click on the div to see detailsbool
public
$memory_usage
=
true
Show or not memory usage boxbool
public
$total_time
=
true
Show or not total time boxbool