Profiler Class
The Profiler class is statically interfaced with and allows for in depth profiling of a site. By default profiling is off, but can be enabled in the config.ini for a site. Out of the box the profiler will report on every class object in the system that extends the code Object class.
Note: I really wanted to use PHP Quick Profiler by Ryan Campbell of Particletree but it kept barking out errors when I tried to use it with E_STRICT turned on. Here's a link anyway since it looks awesome: http://particletree.com/features/php-quick-profiler/
Located in /classes/Profiler.php (line 34)
Enabled
Checks if the profiler is set to boolean true or if the passed type is specified in the profiler configuration value.
Log
Logs the event to be displayed later on. Due to the nature of how much of a pain it is to determine which class method called this method I opted to make the method a passable argument for ease of use. Perhaps I'll revisit in the future. Handles all elapsed time calculations and memory usage.
Log Query
Serves as a wrapper to get query data to the log function
Report
Generates the Profiler report that is displayed by the Controller. Contains all the HTML needed to display the data properly inline on the page. Will generally be displayed after the closing HTML tag.
Timer
Logs the start and end of a timer.
Documentation generated on Wed, 03 Oct 2012 17:46:06 -0400 by phpDocumentor 1.4.4