API16

API16:JVersion/getHelpVersion

From Joomla! Documentation

Revision as of 22:56, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Method to get the help file version. <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowi...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Method to get the help file version.

[Edit Descripton]

Template:Description:JVersion/getHelpVersion

Syntax

getHelpVersion()


Returns

string Version suffix for help files.

Defined in

libraries/joomla/version.php

Importing

jimport( 'joomla.version' );

Source Body

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

[Edit See Also] Template:SeeAlso:JVersion/getHelpVersion

Examples

<CodeExamplesForm />