API Documentation

Db/Profiler/Firebug.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Db
subpackage
Profiler
version
$Id: Firebug.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Db_Profiler_Firebug

Description

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.

Zend_Db_Profiler_Firebug

Extends from
Zend_Db_Profiler
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Db
subpackage
Profiler
Properties
$_label
$_label_template
$_message
$_totalElapsedTime
Methods
__construct
setEnabled
queryEnd
updateMessageLabel

Description

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

Properties

$_label

string $_label = 'null'

The original label for this profiler.

Details

$_label
string
visibility
protected
default
null
final
false
static
false

$_label_template

string $_label_template = '%label% (%totalCount% @ %totalDuration% sec)'

The label template for this profiler

Details

$_label_template
string
visibility
protected
default
%label% (%totalCount% @ %totalDuration% sec)
final
false
static
false

$_message

Zend_Wildfire_Plugin_FirePhp_TableMessage $_message = 'null'

The message envelope holding the profiling summary

Details

$_message
Zend_Wildfire_Plugin_FirePhp_TableMessage
visibility
protected
default
null
final
false
static
false

$_totalElapsedTime

float $_totalElapsedTime = '0'

The total time taken for all profiled queries.

Details

$_totalElapsedTime
float
visibility
protected
default
0
final
false
static
false

Methods

__construct

__construct( string $label = null ) : void

Constructor

Arguments
$label
string
OPTIONAL Label for the profiling info.
Details
visibility
public
final
false
static
false

queryEnd

queryEnd( integer $queryId ) : void

Intercept the query end and log the profiling data.

Arguments
$queryId
integer
Details
visibility
public
final
false
static
false
throws

setEnabled

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.

Arguments
$enable
boolean
Output
Zend_Db_Profiler
Provides a fluent interface
Details
visibility
public
final
false
static
false

updateMessageLabel

updateMessageLabel( ) : void

Update the label of the message holding the profile info.

Details
visibility
protected
final
false
static
false
Documentation was generated by DocBlox.