|
| preprocessSaveData (array $data) |
|
| allowEdit ($data=array(), $key='id') |
|
| allowAdd ($data=array()) |
|
| preprocessSaveData (array $data) |
|
| addPath ($type, $path) |
|
| checkEditId ($context, $id) |
|
| createModel ($name, $prefix='', $config=array()) |
|
| createView ($name, $prefix='', $type='', $config=array()) |
|
| holdEditId ($context, $id) |
|
| releaseEditId ($context, $id) |
|
| setPath ($type, $path) |
|
|
| __construct ($config=array(), MVCFactoryInterface $factory=null, ?CMSApplication $app=null, ?Input $input=null) |
|
| add () |
|
| __construct ($config=array(), MVCFactoryInterface $factory=null, ?CMSApplication $app=null, ?Input $input=null) |
|
| addViewPath ($path) |
|
| execute ($task) |
|
| getModel ($name='', $prefix='', $config=array()) |
|
| getName () |
|
| getTask () |
|
| getTasks () |
|
| getView ($name='', $type='', $prefix='', $config=array()) |
|
| redirect () |
|
| registerDefaultTask ($method) |
|
| registerTask ($task, $method) |
|
| unregisterTask ($task) |
|
| setMessage ($text, $type='message') |
|
| checkToken ($method='post', $redirect=true) |
|
| setRedirect ($url, $msg=null, $type=null) |
|
| setDispatcher (DispatcherInterface $dispatcher) |
|
static | addModelPath ($path, $prefix='') |
|
static | createFileName ($type, $parts=array()) |
|
static | getInstance ($prefix, $config=array()) |
|
static | $instance |
|
static | $views |
|
The contact controller
- Depuis
- 4.0.0
◆ _sendEmail()
_sendEmail |
( |
|
$data, |
|
|
|
$contact, |
|
|
|
$emailCopyToSender |
|
) |
| |
|
private |
Method to get a model object, loading it if required.
- Paramètres
-
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. |
- Renvoie
- boolean True on success sending the email, false on failure.
- Depuis
- 1.6.4
Références $app, $data, $fields, $output, Text\_(), Log\add(), MailTemplate\addRecipient(), Uri\base(), PunycodeHelper\emailToPunycode(), Factory\getApplication(), FieldsHelper\getFields(), User\getInstance(), Factory\getLanguage(), JPATH_SITE, FieldsHelper\render(), et Log\WARNING.
◆ preprocessSaveData()
preprocessSaveData |
( |
array |
$data | ) |
|
|
protected |
Method to allow extended classes to manipulate the data to be saved for an extension.
- Paramètres
-
array | $data | An array of input data. |
- Renvoie
- array
- Depuis
- 4.0.0
Références $data, $field, et FieldsHelper\getFields().
◆ $contentType
$contentType = 'contacts' |
|
protected |
◆ $default_view
$default_view = 'contacts' |
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :