Actions

API16

JVersion

From Joomla! Documentation

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

[Edit Descripton] JVersion is a class that provides Version information about the currently installed Joomla application.

Contents

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' );

[Edit See Also] SeeAlso:JVersion

Examples

<CodeExamplesForm />