API15

JVersion/getHelpVersion

From Joomla! Documentation

< API15:JVersion
Revision as of 17:26, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== string Version suffix for help files <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<no...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The "API15" 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]

string Version suffix for help files


[Edit Descripton]

Template:Description:JVersion/getHelpVersion

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]

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

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

Examples[edit]

<CodeExamplesForm />