Detailed Description
Definition at line 31 of file Query.php.
Constructor & Destructor Documentation
__construct |
( |
$ |
query, |
|
|
$ |
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).
- Parameters:
-
string | $query | |
integer | $queryType | |
- Returns:
- void
Definition at line 79 of file Query.php.
Member Function Documentation
Clone handler for the query object.
- Returns:
- void
Definition at line 91 of file Query.php.
bindParam |
( |
$ |
param, |
|
|
$ |
variable |
|
) |
| |
- Parameters:
-
string | $param | |
mixed | $variable | |
- Returns:
- void
Definition at line 156 of file Query.php.
bindParams |
( |
array $ |
params ) |
|
- Parameters:
-
- Returns:
- void
Definition at line 165 of file Query.php.
Ends the query and records the time so that the elapsed time can be determined later.
- Returns:
- void
Definition at line 116 of file Query.php.
Get the elapsed time (in seconds) that the query ran. If the query has not yet ended, false is returned.
- Returns:
- float|false
Definition at line 190 of file Query.php.
Get the original SQL text of the query.
- Returns:
- string
Definition at line 136 of file Query.php.
Returns true if and only if the query has ended.
- Returns:
- boolean
Definition at line 126 of file Query.php.
Starts 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.
- Returns:
- void
Definition at line 106 of file Query.php.
The documentation for this class was generated from the following file:
- E:/E/GEAMP/www/openbiz/openbiz/others/Zend/Db/Profiler/Query.php