API16

JVersion

From Joomla! Documentation

Revision as of 02:16, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

JVersion is a class that provides Version information about the currently installed Joomla application.

Defined in[edit]

libraries/joomla/version.php

Methods[edit]

Method name Description
getLongVersion Method to get the long version information.
getShortVersion Method to get the short version information.
getHelpVersion Method to get the help file version.
isCompatible Compares two "A PHP standardized" version number against the current Joomla! version.
getUserAgent Returns the user agent.

Importing[edit]

jimport( 'joomla.version' );



Examples[edit]

Code Examples[edit]