Show
Ignore:
Timestamp:
02/04/2008 10:13:16 AM (11 months ago)
Author:
PugFish
Message:

A load more comments converted.
Fixed escaping error in fr_FR i18n file.
Fixed wrong closing tag in disabled error view.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Profiler.php

    r1761 r1911  
    11<?php defined('SYSPATH') or die('No direct script access.'); 
    22/** 
    3  * Class: Profiler 
    4  *  Adds useful information to the bottom of the current page for debugging and optimization purposes. 
     3 * Adds useful information to the bottom of the current page for debugging and optimization purposes. 
    54 * 
    6  *  Benchmarks   - The times and memory usage of benchmarks run by the <Benchmark> library 
    7  *  Database     - The raw SQL and number of affected rows of <Database> queries 
    8  *  POST Data    - The name and values of any POST data submitted to the current page 
    9  *  Session Data - Data stored in the current session if using the <Session> library 
     5 * Benchmarks   - The times and memory usage of benchmarks run by the <Benchmark> library 
     6 * Database     - The raw SQL and number of affected rows of <Database> queries 
     7 * POST Data    - The name and values of any POST data submitted to the current page 
     8 * Session Data - Data stored in the current session if using the <Session> library 
    109 * 
    11  * Kohana Source Code: 
    12  *  author    - Kohana Team 
    13  *  copyright - (c) 2007 Kohana Team 
    14  *  license   - <http://kohanaphp.com/license.html> 
     10 * $Id$ 
     11 * 
     12 * @package    Core 
     13 * @author     Kohana Team 
     14 * @copyright  (c) 2007-2008 Kohana Team 
     15 * @license    http://kohanaphp.com/license.html 
    1516 */ 
    1617class Profiler_Core { 
    1718 
    1819        /** 
    19          * Constructor: __construct 
    20          *  Adds event for adding the profile output to the page when displayed. 
     20         * Adds event for adding the profile output to the page when displayed. 
    2121         */ 
    2222        public function __construct() 
     
    2929 
    3030        /** 
    31          * Method: disable 
    32          *  Disables the profiler for this page only. 
    33          *  Best used when profiler is autoloaded. 
     31         * Disables the profiler for this page only. 
     32         * Best used when profiler is autoloaded. 
    3433         */ 
    3534        public function disable() 
     
    4039 
    4140        /** 
    42          * Method: render 
    43          *  Render the profiler. Output is added to 
    44          *  the bottom of the page by default. 
     41         * Render the profiler. Output is added to the bottom of the page by default. 
    4542         * 
    46          * Parameters: 
    47          *  return - return the output if TRUE 
    48          * 
    49          * Returns: 
    50          *  The profiler output if $return is TRUE 
     43         * @param   boolean  return the output if TRUE 
     44         * @return  void|string 
    5145         */ 
    5246        public function render($return = FALSE)