JVersion::getUserAgent
Returns the user agent.
Signature
public function getUserAgent([string
$component = null,
[bool
$mask = false,
[bool
$add_version = true]]] )
Parameters
-
$component
- Name of the component.
-
$mask
- Mask as Mozilla/5.0 or not.
-
$add_version
- Add version afterwards to component.
Returns
- string
- User Agent.