API16

JVersion/getLongVersion: Difference between revisions

From Joomla! Documentation

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




{{subst:Description:JVersion/getLongVersion}}
 


===Syntax===
===Syntax===
Line 30: Line 30:




{{subst:SeeAlso:JVersion/getLongVersion}}
 


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=getLongVersion
  category=getLongVersion
  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 long version information.



Syntax

getLongVersion()


Returns

string Long format version.

Defined in

libraries/joomla/version.php

Importing

jimport( 'joomla.version' );

Source Body

public function getLongVersion()
{
        return $this->PRODUCT .' '. $this->RELEASE .'.'. $this->DEV_LEVEL .' '
                . $this->DEV_STATUS
                .' [ '.$this->CODENAME .' ] '. $this->RELDATE .' '
                . $this->RELTIME .' '. $this->RELTZ;
}



Examples

Code Examples