Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe PrivacyPlugin
+ Graphe d'héritage de PrivacyPlugin:

Fonctions membres protégées

 createDomain ($name, $description='')
 
 createItemFromArray (array $data, $itemId=null)
 
 createItemForTable ($table)
 
 createCustomFieldsDomain ($context, $items=array())
 
- Fonctions membres protégées hérités de CMSPlugin
 registerLegacyListener (string $methodName)
 
 registerListener (string $methodName)
 
 getApplication ()
 

Attributs protégés

 $db
 
 $autoloadLanguage = true
 
- Attributs protégés hérités de CMSPlugin
 $_name = null
 
 $_type = null
 
 $autoloadLanguage = false
 
 $allowLegacyListeners = true
 

Membres hérités additionnels

- Fonctions membres publiques hérités de CMSPlugin
 __construct (&$subject, $config=array())
 
 loadLanguage ($extension='', $basePath=JPATH_ADMINISTRATOR)
 
 setApplication (CMSApplicationInterface $application)
 
- Fonctions membres publiques hérités de DispatcherAwareInterface
 setDispatcher (DispatcherInterface $dispatcher)
 
- Fonctions membres publiques hérités de PluginInterface
 registerListeners ()
 
- Champs de données hérités de CMSPlugin
 $params = null
 

Description détaillée

Base class for privacy plugins

Depuis
3.9.0

Documentation des fonctions membres

◆ createCustomFieldsDomain()

createCustomFieldsDomain (   $context,
  $items = array() 
)
protected

Helper function to create the domain for the items custom fields.

Paramètres
string$contextThe context
array$itemsThe items
Renvoie
Domain
Depuis
3.9.0

Références $context, $data, $field, $fields, $fieldValue, $item, $items, $parts, $type, FieldsHelper\extract(), et FieldsHelper\getFields().

◆ createDomain()

createDomain (   $name,
  $description = '' 
)
protected

Create a new domain object

Paramètres
string$nameThe domain's name
string$descriptionThe domain's description
Renvoie
Domain
Depuis
3.9.0

Références $description, et $name.

◆ createItemForTable()

createItemForTable (   $table)
protected

Create an item object for a Table object

Paramètres
Table$tableThe Table object to convert
Renvoie
Item
Depuis
3.9.0

Références $data.

◆ createItemFromArray()

createItemFromArray ( array  $data,
  $itemId = null 
)
protected

Create an item object for an array

Paramètres
array$dataThe array data to convert
integer | null$itemIdThe ID of this item
Renvoie
Item
Depuis
3.9.0

Références $data, $field, $item, $itemId, $key, et $value.

Documentation des champs

◆ $autoloadLanguage

$autoloadLanguage = true
protected

◆ $db

$db
protected

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