Version information class for the Joomla CMS.
- Depuis
- 1.0
◆ __get()
Magic getter providing access to constants previously defined as class member vars.
- Paramètres
-
string | $name | The 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()
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()
Method to get the help file version.
- Renvoie
- string Version suffix for help files.
- Depuis
- 1.0
◆ getLongVersion()
Gets a version string for the current Joomla with all release information.
- Renvoie
- string Complete version string.
- Depuis
- 1.5
◆ 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()
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 | $suffix | String to append to resulting user agent. |
bool | $mask | Mask as Mozilla/5.0 or not. |
bool | $addVersion | Add version afterwards to component. |
- Renvoie
- string User Agent.
- Depuis
- 1.0
Références $suffix, et null.
◆ isCompatible()
Compares two a "PHP standardized" version number against the current Joomla version.
- Paramètres
-
string | $minimum | The minimum version of the Joomla which is compatible. |
- Renvoie
- boolean True if the version is compatible.
1.0
◆ isInDevelopmentState()
Check if we are in development mode
- Renvoie
- boolean
- Depuis
- 3.4.3
◆ refreshMediaVersion()
Function to refresh the media version
- Renvoie
- Version Instance of $this to allow chaining.
- Depuis
- 3.2
◆ setMediaVersion()
setMediaVersion |
( |
|
$mediaVersion | ) |
|
◆ BUILD
◆ CODENAME
const CODENAME = 'Daraja' |
◆ COPYRIGHT
const COPYRIGHT = '(C) 2005 Open Source Matters, Inc. <https://www.joomla.org>' |
◆ DEV_LEVEL
◆ DEV_STATUS
const DEV_STATUS = 'Stable' |
◆ EXTRA_VERSION
◆ MAJOR_VERSION
◆ MINOR_VERSION
◆ PATCH_VERSION
◆ PRODUCT
const PRODUCT = 'Joomla!' |
◆ RELDATE
const RELDATE = '14-August-2022' |
◆ RELEASE
◆ RELTIME
◆ RELTZ
◆ 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 :