5329c3827c
* Fixed a few layout bugs in new documentation * Fixed documentation table of contents indentation bug in IE6 (fixes #344) * Fixed a parser bug in Sensei_Doc_Section * Restructrured a bit some files of the documentation.
17 lines
284 B
PHP
17 lines
284 B
PHP
|
|
<code type="php">
|
|
|
|
// works only if you use doctrine database handler
|
|
|
|
$dbh = $conn->getDBH();
|
|
|
|
$times = $dbh->getExecTimes();
|
|
|
|
// print all executed queries and their execution times
|
|
|
|
foreach($dbh->getQueries() as $index => $query) {
|
|
print $query." ".$times[$index];
|
|
}
|
|
|
|
</code>
|