fixing example to follow coding standard
This commit is contained in:
parent
8def32d0e3
commit
3bf396c06c
@ -16,12 +16,12 @@ Perhaps some of your pages is loading slowly. The following shows how to build a
|
||||
|
||||
<code type="php">
|
||||
$time = 0;
|
||||
foreach($profiler as $event){
|
||||
foreach ($profiler as $event) {
|
||||
$time += $event->getElapsedSecs();
|
||||
echo $event->getName() . " " . sprintf("%f", $event->getElapsedSecs()) . "<br>\n";
|
||||
echo $event->getQuery() . "<br>\n";
|
||||
$params = $event->getParams();
|
||||
if(!empty($params)){
|
||||
if( ! empty($params)) {
|
||||
var_dump($params);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user