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é
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe PlgQuickiconEos310
+ Graphe d'héritage de PlgQuickiconEos310:

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
 

Description détaillée

Joomla! end of support notification plugin

Depuis
3.10.0

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( $subject,
  $config 
)

Constructor.

Paramètres
object&$subjectThe object to observe.
array$configAn optional associative array of configuration settings.
Depuis
3.10.0

Références $config, et $subject.

Documentation des fonctions membres

◆ clearCacheGroups()

clearCacheGroups ( array  $clearGroups,
array  $cacheClients = array(0, 1) 
)
private

Clears cache groups. We use it to clear the plugins cache after we update the last run timestamp.

Paramètres
array$clearGroupsThe cache groups to clean
array$cacheClientsThe cache clients (site, admin) to clean
Renvoie
void
Depuis
3.10.0

Références $options, JPATH_ADMINISTRATOR, et JPATH_SITE.

◆ getMessageInfo()

getMessageInfo (   $monthsUntilEOS,
  $inverted 
)
private

Return the texts to be displayed based on the time until we reach EOS

Paramètres
integer$monthsUntilEOSThe months until we reach EOS
integer$invertedHave we surpassed the EOS date
Renvoie
array|bool An array with the message to be displayed or false
Depuis
3.10.0

◆ isAjaxRequest()

isAjaxRequest ( )
private

Check valid AJAX request

Renvoie
boolean
Depuis
3.10.0

◆ isAllowedUser()

isAllowedUser ( )
private

Check if current user is allowed to send the data

Renvoie
boolean
Depuis
3.10.0

◆ onAjaxSnoozeEOS()

onAjaxSnoozeEOS ( )

User hit the snooze button

Renvoie
void
Depuis
3.10.0
Exceptions
JAccessExceptionNotallowedIf user is not allowed.

◆ onGetIcons()

onGetIcons (   $context)

Check and show the the alert and quickicon message

Paramètres
string$contextThe calling context
Renvoie
array|void A list of icon definition associative arrays, consisting of the keys link, image, text and access, or void.
Depuis
3.10.0

◆ saveParams()

saveParams ( )
private

Save the plugin parameters

Renvoie
boolean
Depuis
3.10.0

Références $query.

◆ shouldDisplayMessage()

shouldDisplayMessage ( )
private

Determines if the message and quickicon should be displayed

Renvoie
boolean
Depuis
3.10.0

Documentation des champs

◆ $app

$app
protected

◆ $autoloadLanguage

$autoloadLanguage = true
protected

◆ $currentMessage

$currentMessage = false
private

◆ $db

$db
protected

◆ EOS_DATE

const EOS_DATE = '2023-08-17'

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