diff options
author | Timothy Warren <tim@timshomepage.net> | 2012-04-20 16:25:04 +0200 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2012-04-20 16:25:04 +0200 |
commit | 0688ac9ad88a03f1c56cfcd9e3c475b83301344d (patch) | |
tree | 6b6ffd771dc66b8c94a54c45449f285f4ce206a2 /system/libraries/Profiler.php | |
parent | 67cb3eef37fa826f56f61cfd2ac597052d9051f9 (diff) |
Start comment cleanup of libraries
Diffstat (limited to 'system/libraries/Profiler.php')
-rw-r--r-- | system/libraries/Profiler.php | 44 |
1 files changed, 33 insertions, 11 deletions
diff --git a/system/libraries/Profiler.php b/system/libraries/Profiler.php index 6320ab50d..1e86f3c61 100644 --- a/system/libraries/Profiler.php +++ b/system/libraries/Profiler.php @@ -42,23 +42,45 @@ */ class CI_Profiler { + /** + * List of profiler sections available to show + * + * @var array + */ protected $_available_sections = array( - 'benchmarks', - 'get', - 'memory_usage', - 'post', - 'uri_string', - 'controller_info', - 'queries', - 'http_headers', - 'session_data', - 'config' - ); + 'benchmarks', + 'get', + 'memory_usage', + 'post', + 'uri_string', + 'controller_info', + 'queries', + 'http_headers', + 'session_data', + 'config' + ); + /** + * Number of queries to show before making the additional queries togglable + * + * @var int + */ protected $_query_toggle_count = 25; + /** + * Reference to the CodeIgniter singleton + * + * @var object + */ protected $CI; + /** + * Constructor + * + * Initialize Profiler + * + * @param array $config + */ public function __construct($config = array()) { $this->CI =& get_instance(); |