API16

API16:JVersion

From Joomla! Documentation

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

Defined in

libraries/joomla/version.php

Methods

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

jimport( 'joomla.version' );



Examples

Code Examples