CodeIgniter Forums
Library access from core - 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: Library access from core (/showthread.php?tid=47636)



Library access from core - El Forum - 12-15-2011

[eluser]Unknown[/eluser]
Is there any way to access, for example, the “user_agent” library from “core”?

I’m using the “URI Language Identifier”, which extends “CI_Lang” through “MY_Lang”, and I need to access the "user_agent" library inside "CI_Lang" in order to get if the device is a mobile device or not (is_mobile() method).

Thanks in advance.