Class Zend_Db_Profiler_Firebug

Description

Writes DB events as log messages to the Firebug Console via FirePHP.

  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Db/Profiler/Firebug.php (line 41)

Zend_Db_Profiler
   |
   --Zend_Db_Profiler_Firebug
Variable Summary
Method Summary
 void __construct ([string $label = null])
 void queryEnd (integer $queryId)
 Zend_Db_Profiler setEnabled (boolean $enable)
Variables
string $_label = null (line 47)

The original label for this profiler.

  • access: protected
string $_label_template = '%label% (%totalCount% @ %totalDuration% sec)' (line 53)

The label template for this profiler

  • access: protected
Zend_Wildfire_Plugin_FirePhp_TableMessage $_message = null (line 59)

The message envelope holding the profiling summary

  • access: protected
float $_totalElapsedTime = 0 (line 65)

The total time taken for all profiled queries.

  • access: protected

Inherited Variables

Inherited from Zend_Db_Profiler

Zend_Db_Profiler::$_enabled
Zend_Db_Profiler::$_filterElapsedSecs
Zend_Db_Profiler::$_filterTypes
Zend_Db_Profiler::$_queryProfiles
Methods
Constructor __construct (line 73)

Constructor

  • access: public
void __construct ([string $label = null])
  • string $label: OPTIONAL Label for the profiling info.

Redefinition of:
Zend_Db_Profiler::__construct()
Class constructor. The profiler is disabled by default unless it is specifically enabled by passing in $enabled here or calling setEnabled().
queryEnd (line 122)

Intercept the query end and log the profiling data.

  • throws: Zend_Db_Profiler_Exception
  • access: public
void queryEnd (integer $queryId)
  • integer $queryId

Redefinition of:
Zend_Db_Profiler::queryEnd()
Ends a query. Pass it the handle that was returned by queryStart().
setEnabled (line 88)

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

  • return: Provides a fluent interface
  • access: public
Zend_Db_Profiler setEnabled (boolean $enable)
  • boolean $enable

Redefinition of:
Zend_Db_Profiler::setEnabled()
Enable or disable the profiler. If $enable is false, the profiler is disabled and will not log any queries sent to it.
updateMessageLabel (line 148)

Update the label of the message holding the profile info.

  • access: protected
void updateMessageLabel ()

Inherited Methods

Inherited From Zend_Db_Profiler

 Zend_Db_Profiler::__construct()
 Zend_Db_Profiler::clear()
 Zend_Db_Profiler::getEnabled()
 Zend_Db_Profiler::getFilterElapsedSecs()
 Zend_Db_Profiler::getFilterQueryType()
 Zend_Db_Profiler::getLastQueryProfile()
 Zend_Db_Profiler::getQueryProfile()
 Zend_Db_Profiler::getQueryProfiles()
 Zend_Db_Profiler::getTotalElapsedSecs()
 Zend_Db_Profiler::getTotalNumQueries()
 Zend_Db_Profiler::queryClone()
 Zend_Db_Profiler::queryEnd()
 Zend_Db_Profiler::queryStart()
 Zend_Db_Profiler::setEnabled()
 Zend_Db_Profiler::setFilterElapsedSecs()
 Zend_Db_Profiler::setFilterQueryType()
Class Constants

Documentation generated on Mon, 21 Jun 2010 15:23:54 -0400 by phpDocumentor 1.4.3