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 PrivacyModelRequest
+ Graphe d'héritage de PrivacyModelRequest:

Fonctions membres publiques

 getForm ($data=array(), $loadData=true)
 
 getTable ($name='Request', $prefix='PrivacyTable', $options=array())
 
 save ($data)
 
 validate ($form, $data, $group=null)
 
 getForm ($data=array(), $loadData=true)
 
 getTable ($name='Request', $prefix='PrivacyTable', $options=array())
 

Fonctions membres protégées

 cleanCache ($group='com_privacy', $clientId=1)
 
 loadFormData ()
 
 populateState ()
 

Description détaillée

Request item model class.

Depuis
3.9.0

Request model class.

Depuis
3.9.0

Documentation des fonctions membres

◆ cleanCache()

cleanCache (   $group = 'com_privacy',
  $clientId = 1 
)
protected

Clean the cache

Paramètres
string$groupThe cache group
integer$clientIdThe ID of the client
Renvoie
void
Depuis
3.9.0

◆ getForm() [1/2]

getForm (   $data = array(),
  $loadData = true 
)

Method for getting the form from the model.

Paramètres
array$dataData for the form.
boolean$loadDataTrue if the form is to load its own data (default case), false if not.
Renvoie
JForm|boolean A JForm object on success, false on failure
Depuis
3.9.0

Références $form.

◆ getForm() [2/2]

getForm (   $data = array(),
  $loadData = true 
)

Method for getting the form from the model.

Paramètres
array$dataData for the form.
boolean$loadDataTrue if the form is to load its own data (default case), false if not.
Renvoie
JForm|boolean A JForm object on success, false on failure
Depuis
3.9.0

◆ getTable() [1/2]

getTable (   $name = 'Request',
  $prefix = 'PrivacyTable',
  $options = array() 
)

Method to get a table object, load it if necessary.

Paramètres
string$nameThe table name. Optional.
string$prefixThe class prefix. Optional.
array$optionsConfiguration array for model. Optional.
Renvoie
JTable A JTable object
Depuis
3.9.0
Exceptions

Références $name, $options, et $prefix.

◆ getTable() [2/2]

getTable (   $name = 'Request',
  $prefix = 'PrivacyTable',
  $options = array() 
)

Method to get a table object, load it if necessary.

Paramètres
string$nameThe table name. Optional.
string$prefixThe class prefix. Optional.
array$optionsConfiguration array for model. Optional.
Renvoie
JTable A JTable object
Depuis
3.9.0
Exceptions

Références $name, $options, et $prefix.

◆ loadFormData()

loadFormData ( )
protected

Method to get the data that should be injected in the form.

Renvoie
array The default data is an empty array.
Depuis
3.9.0

Références $data.

◆ populateState()

populateState ( )
protected

Method to auto-populate the model state.

Note. Calling getState in this method will result in recursion.

Renvoie
void
Depuis
3.9.0

Références $params.

◆ save()

save (   $data)

Method to save the form data.

Paramètres
array$dataThe form data.
Renvoie
boolean True on success, False on error.
Depuis
3.9.0

Références $data, et $key.

◆ validate()

validate (   $form,
  $data,
  $group = null 
)

Method to validate the form data.

Paramètres
JForm$formThe form to validate against.
array$dataThe data to validate.
string$groupThe name of the field group to validate.
Renvoie
array|boolean Array of filtered data if valid, false otherwise.
Voir également
JFormRule
JFilterInput
Depuis
3.9.0

Références $data, $db, $form, $query, et validate().


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