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é
|
Fonctions membres publiques | |
getModel ($name='', $prefix='', $config=array('ignore_request'=> true)) | |
submit () | |
Fonctions membres protégées | |
allowAdd ($data=array()) | |
allowEdit ($data=array(), $key='id') | |
Fonctions membres privées | |
_sendEmail ($data, $contact, $emailCopyToSender) | |
Controller for a single contact
Controller for single contact view
|
private |
Method to get a model object, loading it if required.
array | $data | The data to send in the email. |
stdClass | $contact | The user information to send the email to |
boolean | $emailCopyToSender | True to send a copy of the email to the user. |
Références $app, $data, $fields, $name, $output, $prefix, $sitename, $subject, FieldsHelper\getFields(), et FieldsHelper\render().
|
protected |
|
protected |
getModel | ( | $name = '' , |
|
$prefix = '' , |
|||
$config = array('ignore_request' => true) |
|||
) |
submit | ( | ) |
Method to submit the contact form and send an email.
Références $active, $app, $data, $dispatcher, $form, $id, $results, JEventDispatcher\getInstance(), null, JError\raiseError(), et JError\raiseWarning().