Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Writes DB events as log messages to the Firebug Console via FirePHP.
string $_label = 'null'
The original label for this profiler.
string $_label_template = '%label% (%totalCount% @ %totalDuration% sec)'
The label template for this profiler
Zend_Wildfire_Plugin_FirePhp_TableMessage $_message = 'null'
The message envelope holding the profiling summary
float $_totalElapsedTime = '0'
The total time taken for all profiled queries.
__construct(
string $label
=
null
)
:
void
Constructor
queryEnd(
integer $queryId
)
:
void
Intercept the query end and log the profiling data.
setEnabled(
boolean $enable
)
:
Zend_Db_Profiler
Enable or disable the profiler. If $enable is false, the profiler is disabled and will not log any queries sent to it.
updateMessageLabel(
)
:
void
Update the label of the message holding the profile info.