FUEL CMS User Guide : Version 0.9.3


Browser Helper

Contains a function used in retrieving browser information.

This helper is loaded using the following code:

$this->load->helper('browser');

The following function is available:

browser_info()

Returns a key value array with the key being the name of the brower and the value being the version number.

$browser_info = browser_info();
echo key($browser_info); // e.g. firefox
echo current($browser_info); // e.g. 3.6