JVersion/getShortVersion: Difference between revisions
From Joomla! Documentation
New page: ===Description===
Method to get the short version information.
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JVersion/getShortVersion|Edit Descript... |
m preparing for archive only |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
Method to get the short version information. | Method to get the short version information. | ||
===Syntax=== | ===Syntax=== | ||
| Line 27: | Line 25: | ||
</source> | </source> | ||
===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