CodeIgniter Forums
ChromePHP (like FirePHP for Chrome) library? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: ChromePHP (like FirePHP for Chrome) library? (/showthread.php?tid=33424)



ChromePHP (like FirePHP for Chrome) library? - El Forum - 08-25-2010

[eluser]mikedfunk[/eluser]
I was trying to make ChromePHP work as a library but it's not working. It's a class with methods like any other library. First it gave an error saying the construct was being called by the loader class but is set to private. So I changed that to public. I tried
Code:
$this->load->library('ChromePhp');
$this->ChromePhp->log('test');
and it told me ChromePhp isn't set. Any ideas? The file name and class name are both ChromePhp.


ChromePHP (like FirePHP for Chrome) library? - El Forum - 08-25-2010

[eluser]danmontgomery[/eluser]
Code:
$this->chromephp->log('test');



ChromePHP (like FirePHP for Chrome) library? - El Forum - 08-25-2010

[eluser]mikedfunk[/eluser]
ah that works, thanks! Smile