JVersion/getShortVersion
From Joomla! Documentation
< API16:JVersion
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
Description[edit]
Method to get the short version information.
Template:Description:JVersion/getShortVersion
Syntax[edit]
getShortVersion()
Returns[edit]
string Short version format.
Defined in[edit]
libraries/joomla/version.php
Importing[edit]
jimport( 'joomla.version' );
Source Body[edit]
public function getShortVersion() {
return $this->RELEASE .'.'. $this->DEV_LEVEL;
}
[Edit See Also] Template:SeeAlso:JVersion/getShortVersion
Examples[edit]
<CodeExamplesForm />