public static function instance($reload = false, $forceuseragent = null) {
        if (!self::$instance || $reload) {
            self::$instance = new core_useragent($forceuseragent);
        }
        return self::$instance;
    }
public static function instance($reload = false, $forceuseragent = null) {
        if (!self::$instance || $reload) {
            self::$instance = new core_useragent($forceuseragent);
        }
        return self::$instance;
    }
public static function instance ( $ reload = false , $ forceuseragent = null ) { if ( ! self :: $ instance || $ reload ) { self :: $ instance = new core_useragent ( $ forceuseragent ) ; } return self :: $ instance ; }
Get an instance of the user agent object.

@param bool $reload If set to true the user agent will be reset and all ascertations remade.
@param string $forceuseragent The string to force as the user agent, don't use unless absolutely unavoidable.
@return core_useragent
Get an instance of the user agent object .