API16

JVersion/getShortVersion: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
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.


<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JVersion/getShortVersion|Edit Descripton]]<nowiki>]</nowiki>
</span>


{{Description:JVersion/getShortVersion}}
 
 


===Syntax===
===Syntax===
Line 27: Line 25:
</source>
</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JVersion/getShortVersion|Edit See Also]]<nowiki>]</nowiki>
 
</span>
{{SeeAlso:JVersion/getShortVersion}}


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=getShortVersion
  category=getShortVersion
  category=JVersion
  category=JVersion
  category=CodeExample
  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