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_template= ''%label% (%totalCount% @ %totalDuration% sec)''
The label template for this profiler
'%label% (%totalCount% @ %totalDuration% sec)'
Details
\Zend_Wildfire_Plugin_FirePhp_TableMessage
$_message= 'null'
The message envelope holding the profiling summary

__construct(
string $label
=
null
)
:
void
Constructor
Name | Type | Description |
---|---|---|
$label | string | OPTIONAL Label for the profiling info. |

queryEnd(
integer $queryId
)
:
void
Intercept the query end and log the profiling data.
Name | Type | Description |
---|---|---|
$queryId | integer |
Exception | Description |
---|---|
\Zend_Db_Profiler_Exception |

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.
Name | Type | Description |
---|---|---|
$enable | boolean |
Type | Description |
---|---|
\Zend_Db_Profiler | Provides a fluent interface |