Class Zend_Db_Profiler_Query
Package: Zend\Db\Profiler
Category: Zend
Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: New BSD License
Located at Zend/Db/Profiler/Query.php
Category: Zend
Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: New BSD License
Located at Zend/Db/Profiler/Query.php
public
|
#
__construct( string $query, integer $queryType )
Class constructor. A query is about to be started, save the query text ($query) and its type (one of the Zend_Db_Profiler::* constants). |
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
string
|
|
public
integer
|
|
public
|
|
public
|
|
public
array
|
|
public
float|false
|
#
getElapsedSecs( )
Get the elapsed time (in seconds) that the query ran. If the query has not yet ended, false is returned. |
public
boolean|float
|
protected
string
|
$_query | '' |
#
SQL query string or user comment, set by $query argument in constructor. |
protected
integer
|
$_queryType | 0 |
#
One of the Zend_Db_Profiler constants for query type, set by $queryType argument in constructor. |
protected
float
|
$_startedMicrotime | null |
#
Unix timestamp with microseconds when instantiated. |
protected
integer
|
$_endedMicrotime | null |
#
Unix timestamp with microseconds when self::queryEnd() was called. |
protected
array
|
$_boundParams | array() |