API16

JVersion: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 29: Line 29:




{{subst:SeeAlso:JVersion}}
 


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=JVersion
  category=JVersion
  category=CodeExample
  namespace=CodeExample
  category=ClassExample
  category=ClassExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>

Latest revision as of 02:16, 25 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' );



Examples

Code Examples