API17:JMailHelper::cleanSubject
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JMailHelper::cleanSubject|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JMailHelper::cleanSubject|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function cleanSubject ($subject) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 27: | Line 24: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' string Cleaned email subject string. | |
| − | string Cleaned email subject string. | + | * '''Defined''' on line 72 of libraries/joomla/mail/helper.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/mail/helper.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JMailHelper::cleanSubject source code''' on [[jplatform:mail/helper.php#cl-64|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JMailHelper/11.1|JMailHelper]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Mail/11.1|Mail]] | ||
| + | * [[JMailHelper::cleanSubject|Other versions of JMailHelper::cleanSubject]] | ||
| + | {{SeeAlso:JMailHelper::cleanSubject}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JMailHelper::cleanSubject|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JMailHelper::cleanSubject|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 48: | Line 44: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JMailHelper]][[Category:JMailHelper::cleanSubject]]</noinclude> | <noinclude>[[Category:JMailHelper]][[Category:JMailHelper::cleanSubject]]</noinclude> | ||
Revision as of 21:21, 27 April 2011
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]
public static function cleanSubject ($subject)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $subject | string | email subject string. |
- Returns string Cleaned email subject string.
- Defined on line 72 of libraries/joomla/mail/helper.php
- Since
See also
-
JMailHelper::cleanSubject source code on BitBucket
-
Class JMailHelper
-
Subpackage Mail
- Other versions of JMailHelper::cleanSubject
SeeAlso:JMailHelper::cleanSubject [Edit See Also]
User contributed notes
<CodeExamplesForm />
