JVersion/1.5
From Joomla! Documentation
< JVersion(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|1.5}} JVersion== | ||
| + | ===Description=== | ||
| + | {{Description:JVersion}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JVersion|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JVersion|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
| + | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
| + | |public | ||
|[[JVersion::getHelpVersion/1.5|getHelpVersion]] | |[[JVersion::getHelpVersion/1.5|getHelpVersion]] | ||
| | | | ||
|- | |- | ||
| + | |public | ||
|[[JVersion::getLongVersion/1.5|getLongVersion]] | |[[JVersion::getLongVersion/1.5|getLongVersion]] | ||
| | | | ||
|- | |- | ||
| + | |public | ||
|[[JVersion::getShortVersion/1.5|getShortVersion]] | |[[JVersion::getShortVersion/1.5|getShortVersion]] | ||
| | | | ||
|- | |- | ||
| + | |public | ||
|[[JVersion::isCompatible/1.5|isCompatible]] | |[[JVersion::isCompatible/1.5|isCompatible]] | ||
|Compares two "A PHP standardized" version number against the current Joomla! version. | |Compares two "A PHP standardized" version number against the current Joomla! version. | ||
|- | |- | ||
|} | |} | ||
| + | * '''Defined in''' libraries/joomla/version.php | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.version' );</source> | <source lang="php">jimport( 'joomla.version' );</source> | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|1.5}} '''JVersion''' on [http://api.joomla.org/Joomla-Framework/JVersion.html api.joomla.org] | ||
| + | * {{JVer|1.5}} '''JVersion source code''' on [[jframework15:version.php|JoomlaCode]] | ||
| + | * [[JVersion|Other versions of JVersion]] | ||
| + | {{SeeAlso:JVersion}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JVersion|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JVersion|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 45: | Line 49: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JVersion]]</noinclude> | <noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JVersion]]</noinclude> | ||
Revision as of 18:14, 25 April 2011
JVersion
Description
JVersion is a class that provides Version information about the currently installed Joomla application. [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | getHelpVersion | |
| public | getLongVersion | |
| public | getShortVersion | |
| public | isCompatible | Compares two "A PHP standardized" version number against the current Joomla! version. |
- Defined in libraries/joomla/version.php
Importing
jimport( 'joomla.version' );
See also
-
JVersion on api.joomla.org
-
JVersion source code on JoomlaCode
- Other versions of JVersion
SeeAlso:JVersion [Edit See Also]
User contributed notes
<CodeExamplesForm />