API16

JVersion

From Joomla! Documentation

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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]