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.
array $_boundParams = 'array'
Detailsinteger $_endedMicrotime = 'null'Unix timestamp with microseconds when self::queryEnd() was called.
Detailsstring $_query = ''SQL query string or user comment, set by $query argument in constructor.
Detailsinteger $_queryType = '0'One of the Zend_Db_Profiler constants for query type, set by $queryType argument in constructor.
Detailsfloat $_startedMicrotime = 'null'Unix timestamp with microseconds when instantiated.
Details__clone(
)
:
voidClone handler for the query object.
Details__construct(
string $query, integer $queryType
)
:
voidClass constructor. A query is about to be started, save the query text ($query) and its type (one of the Zend_Db_Profiler::* constants).
DetailsbindParam(
string $param, mixed $variable
)
:
void
DetailsbindParams(
$params
)
:
void
Detailsend(
)
:
voidEnds the query and records the time so that the elapsed time can be determined later.
DetailsgetElapsedSecs(
)
:
float|falseGet the elapsed time (in seconds) that the query ran.
If the query has not yet ended, false is returned.
DetailsgetQuery(
)
:
stringGet the original SQL text of the query.
DetailsgetQueryParams(
)
:
array
DetailsgetQueryType(
)
:
integerGet the type of this query (one of the Zend_Db_Profiler::* constants)
DetailshasEnded(
)
:
booleanReturns true if and only if the query has ended.
Detailsstart(
)
:
voidStarts the elapsed time click ticking.
This can be called subsequent to object creation, to restart the clock. For instance, this is useful right before executing a prepared query.
Details