CodeIgniter Forums
Benchmark In A Custom Class - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Benchmark In A Custom Class (/showthread.php?tid=26152)



Benchmark In A Custom Class - El Forum - 01-07-2010

[eluser]Unknown[/eluser]
I love the Benchmark class...but according to the documents, I can only use it in Controllers, Models and Views.

Is there a way to instantiate the Benchmark class in another generic object class? If so, can you describe how I am to instantiate and load the class?