API15:JVersion
From Joomla! Documentation
(Difference between revisions)
(New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JVersion}}
===Defined in===
lib...) |
|||
| Line 27: | Line 27: | ||
|Compares two "A PHP standardized" version number against the current Joomla! version | |Compares two "A PHP standardized" version number against the current Joomla! version | ||
|} | |} | ||
| + | |||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.version' );</source> | <source lang="php">jimport( 'joomla.version' );</source> | ||
Latest revision as of 12:40, 25 March 2010
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 |
[edit] Defined in
libraries/joomla/version.php
[edit] Methods
| Method name | Description |
|---|---|
| getLongVersion | string Long format version |
| getShortVersion | string Short version format |
| getHelpVersion | string Version suffix for help files |
| isCompatible | Compares two "A PHP standardized" version number against the current Joomla! version |
[edit] Importing
jimport( 'joomla.version' );
[Edit See Also] SeeAlso:JVersion
[edit] Examples
<CodeExamplesForm />
