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é
Référence de la classe UsersModelMail
+ Graphe d'héritage de UsersModelMail:

Fonctions membres publiques

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

Fonctions membres protégées

 loadFormData ()
 
 preprocessForm (JForm $form, $data, $group='user')
 

Description détaillée

Users mail model.

Depuis
1.6

Documentation des fonctions membres

◆ getForm()

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

Method to get the row form.

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

Références $form.

◆ loadFormData()

loadFormData ( )
protected

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

Renvoie
mixed The data for the form.
Depuis
1.6

Références $data.

◆ preprocessForm()

preprocessForm ( JForm  $form,
  $data,
  $group = 'user' 
)
protected

Method to preprocess the form

Paramètres
JForm$formA form object.
mixed$dataThe data expected for the form.
string$groupThe name of the plugin group to import (defaults to "content").
Renvoie
void
Depuis
1.6
Exceptions
Exceptionif there is an error loading the form.

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

◆ send()

send ( )

Send the email

Renvoie
boolean

Fill the data (specially for the 'mode', 'group' and 'bcc': they could not exist in the array when the box is not checked and in this case, the default value would be used instead of the '0' one)

Références $app, PHPMailer\$bcc, $data, $db, $disabled, $mode, $params, $query, $rows, $subject, PHPMailer\$to, $user, elseif, et PHPMailer\setError().


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