JVersion: Difference between revisions
From Joomla! Documentation
New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JVersion}}
===Defined in===
lib... |
m clean up |
||
| Line 1: | Line 1: | ||
[[JVersion]] is a class that provides Version information about the currently installed Joomla application. | |||
===Defined in=== | ===Defined in=== | ||
| Line 31: | Line 28: | ||
<source lang="php">jimport( 'joomla.version' );</source> | <source lang="php">jimport( 'joomla.version' );</source> | ||
{{subst:SeeAlso:JVersion}} | |||
{{SeeAlso:JVersion}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 14:37, 24 March 2017
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' );
{{subst:SeeAlso:JVersion}}
Examples
<CodeExamplesForm />