API16

JVersion/getHelpVersion

From Joomla! Documentation

< API16:JVersion

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 help file version.



Syntax[edit]

getHelpVersion()


Returns[edit]

string Version suffix for help files.

Defined in[edit]

libraries/joomla/version.php

Importing[edit]

jimport( 'joomla.version' );

Source Body[edit]

public function getHelpVersion()
{
        if ($this->RELEASE > '1.0') {
                return '.' . str_replace('.', '', $this->RELEASE);
        } else {
                return '';
        }
}



Examples[edit]

Code Examples[edit]