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é
|
Fonctions membres publiques | |
__construct (&$subject, $config) | |
onGetIcons ($context) | |
onAjaxSnoozeEOS () | |
Fonctions membres publiques hérités de CMSPlugin | |
__construct (&$subject, $config=array()) | |
loadLanguage ($extension='', $basePath=JPATH_ADMINISTRATOR) | |
Fonctions membres publiques hérités de JEvent | |
__construct (&$subject) | |
update (&$args) | |
Champs de données | |
const | EOS_DATE = '2023-08-17' |
Champs de données hérités de CMSPlugin | |
$params = null | |
Attributs protégés | |
$app | |
$db | |
$autoloadLanguage = true | |
Attributs protégés hérités de CMSPlugin | |
$_name = null | |
$_type = null | |
$autoloadLanguage = false | |
Attributs protégés hérités de JEvent | |
$_subject = null | |
Fonctions membres privées | |
getMessageInfo ($monthsUntilEOS, $inverted) | |
shouldDisplayMessage () | |
isAjaxRequest () | |
isAllowedUser () | |
saveParams () | |
clearCacheGroups (array $clearGroups, array $cacheClients=array(0, 1)) | |
Attributs privés | |
$currentMessage = false | |
Joomla! end of support notification plugin
__construct | ( | & | $subject, |
$config | |||
) |
|
private |
Clears cache groups. We use it to clear the plugins cache after we update the last run timestamp.
array | $clearGroups | The cache groups to clean |
array | $cacheClients | The cache clients (site, admin) to clean |
Références $options, JPATH_ADMINISTRATOR, et JPATH_SITE.
|
private |
Return the texts to be displayed based on the time until we reach EOS
integer | $monthsUntilEOS | The months until we reach EOS |
integer | $inverted | Have we surpassed the EOS date |
|
private |
Check valid AJAX request
|
private |
Check if current user is allowed to send the data
onAjaxSnoozeEOS | ( | ) |
User hit the snooze button
JAccessExceptionNotallowed | If user is not allowed. |
onGetIcons | ( | $context | ) |
Check and show the the alert and quickicon message
string | $context | The calling context |
|
private |
|
private |
Determines if the message and quickicon should be displayed
|
protected |
|
protected |
|
private |
|
protected |
const EOS_DATE = '2023-08-17' |