Class JVersion

Description

Version information class for the Joomla CMS.

  • since: 1.0

Located in /libraries/cms/version/version.php (line 17)


	
			
Variable Summary
string $BUILD
string $CODENAME
string $COPYRIGHT
string $DEV_LEVEL
string $DEV_STATUS
string $PRODUCT
string $RELDATE
string $RELEASE
string $RELTIME
string $RELTZ
string $URL
Method Summary
string getHelpVersion ()
string getLongVersion ()
string getShortVersion ()
string getUserAgent ([string $component = null], [bool $mask = false], [bool $add_version = true])
bool isCompatible (string $minimum)
Variables
string $BUILD = '' (line 32)
  • var: Build number.
  • access: public
string $CODENAME = 'Ember' (line 35)
  • var: Code name.
  • access: public
string $COPYRIGHT = 'Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.' (line 47)
  • var: Copyright Notice.
  • access: public
string $DEV_LEVEL = '6' (line 26)
  • var: Maintenance version.
  • access: public
string $DEV_STATUS = 'Stable' (line 29)
  • var: Development STATUS.
  • access: public
string $PRODUCT = 'Joomla!' (line 20)
  • var: Product name.
  • access: public
string $RELDATE = '19-June-2012' (line 38)
  • var: Release date.
  • access: public
string $RELEASE = '2.5' (line 23)
  • var: Release version.
  • access: public
string $RELTIME = '14:00' (line 41)
  • var: Release time.
  • access: public
string $RELTZ = 'GMT' (line 44)
  • var: Release timezone.
  • access: public
string $URL = '<a href="http://www.joomla.org">Joomla!</a> is Free Software released under the GNU General Public License.' (line 50)
  • var: Link text.
  • access: public
Methods
getHelpVersion (line 74)

Method to get the help file version.

  • return: Version suffix for help files.
  • since: 1.0
  • access: public
string getHelpVersion ()
getLongVersion (line 98)

Gets a version string for the current Joomla with all release information.

  • return: Complete version string.
  • since: 1.5
  • access: public
string getLongVersion ()
getShortVersion (line 86)

Gets a "PHP standardized" version string for the current Joomla.

  • return: Version string.
  • since: 1.5
  • access: public
string getShortVersion ()
getUserAgent (line 116)

Returns the user agent.

  • return: User Agent.
  • since: 1.0
  • access: public
string getUserAgent ([string $component = null], [bool $mask = false], [bool $add_version = true])
  • string $component: Name of the component.
  • bool $mask: Mask as Mozilla/5.0 or not.
  • bool $add_version: Add version afterwards to component.
isCompatible (line 62)

Compares two a "PHP standardized" version number against the current Joomla version.

bool isCompatible (string $minimum)
  • string $minimum: The minimum version of the Joomla which is compatible.

Documentation generated on Mon, 25 Jun 2012 14:00:33 -0500 by phpDocumentor 1.4.4