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,

__construct( Dot_Template   $tpl, ) : Dot_Debug

Description

Constructor

Arguments

Name Type Description Default
$tpl Dot_Template

Return value

Type Description
Dot_Debug

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

Type Description
void

Tags

Name Description
access public

_endTimer( ) : string

Description

Count the end time

Return value

Type Description
string

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

Type Description
string

Tags

Name Description
access private

_showDbDebug( ) : void

Description

Display DB querys for debug

Return value

Type Description
void

Tags

Name Description
access private

_showTotalTime( ) : void

Description

Display total time

Return value

Type Description
void

Tags

Name Description
access private

show( ) : void

Description

Display the debug variables

Return value

Type Description
void

Tags

Name Description
access public

showDotVersion( ) : void

Description

Display DotKernel version

Return value

Type Description
void

Tags

Name Description
access public

showMemoryUsage( ) : void

Description

Display memory usage

Return value

Type Description
void

Tags

Name Description
access public

showPHPVersion( ) : void

Description

Display PHP version

Return value

Type Description
void

Tags

Name Description
access public

showZFVersion( ) : void

Description

Display ZF Version

Return value

Type Description
void

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


Documentation was generated by DocBlox.

Packages

  • Admin
    • Admin
      Admin Model Here are all the actions related to the user
    • Admin_View
      Admin View Class class that prepare output related to User controller
    • System
      System Model Here are all the actions related to the system settings
    • System_View
      System View Class class that prepare output related to User controller
    • User
      User Model Here are all the actions related to the user
    • User_View
      User View Class class that prepare output related to User controller
    • View
      Admin View abstract over the Dot_Template class
  • DotKernel
    • DotLibrary
    • Frontend
      • Page
        Page Model Dummy class, is not doing anything
      • Page
        Page Model Dummy class, is not doing anything yet
      • Page_View
        Page View Class functions that prepare output related to Page controller
      • User
        User Model Here are all the actions related to the user
      • User_View
        User View Class class that prepare output related to User controller
      • View
        View Model abstract over the Dot_Template class
    • Mobile
      • Page_View
        Page View Class functions that prepare output related to Page controller
      • View
        View Model abstract over the Dot_Template class
    • Rss
      • Sample
        Sample Model Here are all the actions related to the Sample
      • Sample_View
        Sample View Class
      • View
        View class - used for outputting rss content