![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Graphe d'héritage de PlgSystemPrivacyconsent:Fonctions membres publiques | |
| __construct (&$subject, $config) | |
| onContentPrepareForm ($form, $data) | |
| onUserBeforeSave ($user, $isNew, $data) | |
| onUserAfterSave ($data, $isNew, $result, $error) | |
| onUserAfterDelete ($user, $success, $msg) | |
| onAfterRoute () | |
| onPrivacyCheckPrivacyPolicyPublished (&$policy) | |
| onAfterRender () | |
Attributs protégés | |
| $autoloadLanguage = true | |
| $app | |
| $db | |
Fonctions membres privées | |
| getRedirectMessage () | |
| isUserConsented ($userId) | |
| getPrivacyArticleId () | |
| remindExpiringConsents () | |
| clearCacheGroups (array $clearGroups, array $cacheClients=array(0, 1)) | |
An example custom privacyconsent 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 |
Get privacy article ID. If the site is a multilingual website and there is associated article for the current language, ID of the associated article will be returned
|
private |
Returns the configured redirect message and falls back to the default version.
|
private |
| onAfterRender | ( | ) |
| onAfterRoute | ( | ) |
| onContentPrepareForm | ( | $form, | |
| $data | |||
| ) |
| onPrivacyCheckPrivacyPolicyPublished | ( | & | $policy | ) |
Event to specify whether a privacy policy has been published.
| array | &$policy | The privacy policy status data, passed by reference, with keys "published", "editLink" and "articlePublished". |
Références $article, $articleId, et $query.
| onUserAfterDelete | ( | $user, | |
| $success, | |||
| $msg | |||
| ) |
Remove all user privacy consent information for the given user ID
Method is called after user data is deleted from the database
| array | $user | Holds the user data |
| boolean | $success | True if user was successfully stored in the database |
| string | $msg | Message |
| onUserAfterSave | ( | $data, | |
| $isNew, | |||
| $result, | |||
| $error | |||
| ) |
| onUserBeforeSave | ( | $user, | |
| $isNew, | |||
| $data | |||
| ) |
Method is called before user data is stored in the database
| array | $user | Holds the old user data. |
| boolean | $isNew | True if a new user is stored. |
| array | $data | Holds the new user data. |
| InvalidArgumentException | on missing required data. |
|
private |
|
protected |
|
protected |
|
protected |