API17:JMailHelper::cleanSubject
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JMailHelper::cleanSubject
Description
Cleans any injected headers from the subject string.
Description:JMailHelper::cleanSubject [Edit Descripton]
Since
Synopsis
public static JMailHelper::cleanSubject ($subject)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $subject | string | email subject string. |
Returns
string Cleaned email subject string.
Defined in
libraries/joomla/mail/helper.php (line 72)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JMailHelper::cleanSubject
Examples
<CodeExamplesForm />
