Public Member Functions | Protected Member Functions | Protected Attributes

Zend_Db_Profiler_Firebug Class Reference

Inheritance diagram for Zend_Db_Profiler_Firebug:
Zend_Db_Profiler

Public Member Functions

 __construct ($label=null)
 setEnabled ($enable)
 queryEnd ($queryId)

Protected Member Functions

 updateMessageLabel ()

Protected Attributes

 $_label = null
 $_label_template = '%label% (%totalCount% @ %totalDuration% sec)'
 $_message = null
 $_totalElapsedTime = 0

Detailed Description

Definition at line 41 of file Firebug.php.


Constructor & Destructor Documentation

__construct ( label = null )

Constructor

Parameters:
string$labelOPTIONAL Label for the profiling info.
Returns:
void

Reimplemented from Zend_Db_Profiler.

Definition at line 73 of file Firebug.php.


Member Function Documentation

queryEnd ( queryId )

Intercept the query end and log the profiling data.

Parameters:
integer$queryId
Exceptions:
Zend_Db_Profiler_Exception
Returns:
void

Reimplemented from Zend_Db_Profiler.

Definition at line 122 of file Firebug.php.

setEnabled ( enable )

Enable or disable the profiler. If $enable is false, the profiler is disabled and will not log any queries sent to it.

Parameters:
boolean$enable
Returns:
Zend_Db_Profiler Provides a fluent interface

Reimplemented from Zend_Db_Profiler.

Definition at line 88 of file Firebug.php.

updateMessageLabel (  ) [protected]

Update the label of the message holding the profile info.

Returns:
void

Definition at line 148 of file Firebug.php.


The documentation for this class was generated from the following file: