PHP Classes

File: yii/framework/views/profile-summary-firebug.php

Recommend this page to a friend!
  Classes of Adnane EL Mouttaki   Covoiturage   yii/framework/views/profile-summary-firebug.php   Download  
File: yii/framework/views/profile-summary-firebug.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Covoiturage
System for managing a car pooling service
Author: By
Last change:
Date: 6 years ago
Size: 574 bytes
 

Contents

Class file image Download
<script type="text/javascript">
/*<![CDATA[*/
if(typeof(console)=='object')
{
    console.group("Profiling Summary Report");
    console.log(" count total average min max ");
<?php
foreach($data as $index=>$entry)
{
   
$proc=CJavaScript::quote($entry[0]);
   
$count=sprintf('%5d',$entry[1]);
   
$min=sprintf('%0.5f',$entry[2]);
   
$max=sprintf('%0.5f',$entry[3]);
   
$total=sprintf('%0.5f',$entry[4]);
   
$average=sprintf('%0.5f',$entry[4]/$entry[1]);
    echo
"\tconsole.log(\" $count $total $average $min $max {$proc}\");\n";
}
?>
console.groupEnd();
}
/*]]>*/
</script>