JVersion/getShortVersion: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
===Syntax=== | ===Syntax=== | ||
| Line 26: | Line 26: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=getShortVersion | category=getShortVersion | ||
category=JVersion | category=JVersion | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 02:17, 25 March 2017
Description
Method to get the short version information.
Syntax
getShortVersion()
Returns
string Short version format.
Defined in
libraries/joomla/version.php
Importing
jimport( 'joomla.version' );
Source Body
public function getShortVersion() {
return $this->RELEASE .'.'. $this->DEV_LEVEL;
}
Examples
Code Examples