CodeIgniter Forums
Extending Profiler - 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: Extending Profiler (/showthread.php?tid=53255)



Extending Profiler - El Forum - 07-16-2012

[eluser]Mark Unwin[/eluser]
Is there any way when using Profiler to add in the number of rows returned in addition to the time and SQL to the DATABASE: section of the output report?

TIA.
Mark.


Extending Profiler - El Forum - 07-16-2012

[eluser]Aken[/eluser]
You can extend the Profiler library like any other default library. So yes, just extend it and replace the necessary method with your own modified version.


Extending Profiler - El Forum - 07-17-2012

[eluser]CroNiX[/eluser]
Libraries - See "Extending Native Libraries"