API17:JMailHelper::cleanText
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JMailHelper::cleanText|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JMailHelper::cleanText|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function cleanText ($value) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 25: | Line 24: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' string Cleaned multi-line string. | |
| − | string Cleaned multi-line string. | + | * '''Defined''' on line 45 of libraries/joomla/mail/helper.php |
| − | + | * '''Referenced by''' | |
| − | libraries/joomla/mail/helper.php | + | ** [[JMail::setBody/11.1|JMail::setBody]] |
| − | + | ||
| − | * [[JMail | + | |
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JMailHelper::cleanText source code''' on [[jplatform:mail/helper.php#cl-37|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JMailHelper/11.1|JMailHelper]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Mail/11.1|Mail]] | ||
| + | * [[JMailHelper::cleanText|Other versions of JMailHelper::cleanText]] | ||
| + | {{SeeAlso:JMailHelper::cleanText}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JMailHelper::cleanText|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JMailHelper::cleanText|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 46: | Line 45: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JMailHelper]][[Category:JMailHelper::cleanText]]</noinclude> | <noinclude>[[Category:JMailHelper]][[Category:JMailHelper::cleanText]]</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::cleanText
Description
Cleans multi-line inputs.
Description:JMailHelper::cleanText [Edit Descripton]
public static function cleanText ($value)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $value | string | Multi-line string to be cleaned. |
- Returns string Cleaned multi-line string.
- Defined on line 45 of libraries/joomla/mail/helper.php
- Referenced by
See also
-
JMailHelper::cleanText source code on BitBucket
-
Class JMailHelper
-
Subpackage Mail
- Other versions of JMailHelper::cleanText
SeeAlso:JMailHelper::cleanText [Edit See Also]
User contributed notes
<CodeExamplesForm />
