Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Référence de la classe Version

Fonctions membres publiques

 __get ($name)
 
 isInDevelopmentState ()
 
 isCompatible ($minimum)
 
 getHelpVersion ()
 
 getShortVersion ()
 
 getLongVersion ()
 
 getUserAgent ($suffix=null, $mask=false, $addVersion=true)
 
 generateMediaVersion ()
 
 getMediaVersion ()
 
 refreshMediaVersion ()
 
 setMediaVersion ($mediaVersion)
 

Champs de données

const PRODUCT = 'Joomla!'
 
const MAJOR_VERSION = 3
 
const MINOR_VERSION = 10
 
const PATCH_VERSION = 11
 
const EXTRA_VERSION = ''
 
const RELEASE = '3.10'
 
const DEV_LEVEL = '11'
 
const DEV_STATUS = 'Stable'
 
const BUILD = ''
 
const CODENAME = 'Daraja'
 
const RELDATE = '14-August-2022'
 
const RELTIME = '14:18'
 
const RELTZ = 'GMT'
 
const COPYRIGHT = '(C) 2005 Open Source Matters, Inc. <https://www.joomla.org>'
 
const URL = '<a href="https://www.joomla.org">Joomla!</a> is Free Software released under the GNU General Public License.'
 

Description détaillée

Version information class for the Joomla CMS.

Depuis
1.0

Documentation des fonctions membres

◆ __get()

__get (   $name)

Magic getter providing access to constants previously defined as class member vars.

Paramètres
string$nameThe name of the property.
Renvoie
mixed A value if the property name is valid.
Depuis
3.5
Obsolète:
4.0 Access the constants directly

Références $name.

◆ generateMediaVersion()

generateMediaVersion ( )

Generate a media version string for assets Public to allow third party developers to use it

Renvoie
string
Depuis
3.2

Références $date.

◆ getHelpVersion()

getHelpVersion ( )

Method to get the help file version.

Renvoie
string Version suffix for help files.
Depuis
1.0

◆ getLongVersion()

getLongVersion ( )

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

Renvoie
string Complete version string.
Depuis
1.5

◆ getMediaVersion()

getMediaVersion ( )

Gets a media version which is used to append to Joomla core media files.

This media version is used to append to Joomla core media in order to trick browsers into reloading the CSS and JavaScript, because they think the files are renewed. The media version is renewed after Joomla core update, install, discover_install and uninstallation.

Renvoie
string The media version.
Depuis
3.2

Références $params, LibraryHelper\getParams(), JDEBUG, et null.

◆ getShortVersion()

getShortVersion ( )

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

Renvoie
string Version string.
Depuis
1.5

Références $version.

◆ getUserAgent()

getUserAgent (   $suffix = null,
  $mask = false,
  $addVersion = true 
)

Returns the user agent.

Paramètres
string$suffixString to append to resulting user agent.
bool$maskMask as Mozilla/5.0 or not.
bool$addVersionAdd version afterwards to component.
Renvoie
string User Agent.
Depuis
1.0

Références $suffix, et null.

◆ isCompatible()

isCompatible (   $minimum)

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

Paramètres
string$minimumThe minimum version of the Joomla which is compatible.
Renvoie
boolean True if the version is compatible.

1.0

◆ isInDevelopmentState()

isInDevelopmentState ( )

Check if we are in development mode

Renvoie
boolean
Depuis
3.4.3

◆ refreshMediaVersion()

refreshMediaVersion ( )

Function to refresh the media version

Renvoie
Version Instance of $this to allow chaining.
Depuis
3.2

◆ setMediaVersion()

setMediaVersion (   $mediaVersion)

Sets the media version which is used to append to Joomla core media files.

Paramètres
string$mediaVersionThe media version.
Renvoie
Version Instance of $this to allow chaining.
Depuis
3.2

Références $params, LibraryHelper\getParams(), et LibraryHelper\saveParams().

Documentation des champs

◆ BUILD

const BUILD = ''

◆ CODENAME

const CODENAME = 'Daraja'

◆ COPYRIGHT

const COPYRIGHT = '(C) 2005 Open Source Matters, Inc. <https://www.joomla.org>'

◆ DEV_LEVEL

const DEV_LEVEL = '11'

◆ DEV_STATUS

const DEV_STATUS = 'Stable'

◆ EXTRA_VERSION

const EXTRA_VERSION = ''

◆ MAJOR_VERSION

const MAJOR_VERSION = 3

◆ MINOR_VERSION

const MINOR_VERSION = 10

◆ PATCH_VERSION

const PATCH_VERSION = 11

◆ PRODUCT

const PRODUCT = 'Joomla!'

◆ RELDATE

const RELDATE = '14-August-2022'

◆ RELEASE

const RELEASE = '3.10'

◆ RELTIME

const RELTIME = '14:18'

◆ RELTZ

const RELTZ = 'GMT'

◆ URL

const URL = '<a href="https://www.joomla.org">Joomla!</a> is Free Software released under the GNU General Public License.'

La documentation de cette classe a été générée à partir du fichier suivant :