CodeIgniter Forums
Benchmark In A Custom Class - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Benchmark In A Custom Class (/thread-26152.html)



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?