PHP Classes

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

Recommend this page to a friend!
  Classes of Adnane EL Mouttaki   Covoiturage   yii/framework/views/profile-callstack-firebug.php   Download  
File: yii/framework/views/profile-callstack-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: 399 bytes
 

Contents

Class file image Download
<script type="text/javascript">
/*<![CDATA[*/
if(typeof(console)=='object')
{
    console.group("Profiling Callstack Report");
<?php
foreach($data as $index=>$entry)
{
    list(
$proc,$time,$level)=$entry;
   
$proc=CJavaScript::quote($proc);
   
$time=sprintf('%0.5f',$time);
   
$spaces=str_repeat(' ',$level*8);
    echo
"\tconsole.log(\"[$time]{$spaces}{$proc}\");\n";
}
?>
console.groupEnd();
}
/*]]>*/
</script>