Difference between revisions of "JFilterOutput::cleanText"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (preparing for archive only) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
Cleans text of all formating and scripting code. | Cleans text of all formating and scripting code. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function cleanText (&$text) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 25: | Line 22: | ||
|- | |- | ||
|} | |} | ||
− | === | + | * '''Returns''' |
+ | * '''Defined''' on line 171 of libraries/joomla/filter/filteroutput.php | ||
+ | ===See also=== | ||
+ | * {{JVer|11.1}} '''JFilterOutput::cleanText source code''' on [[jplatform:filter/filteroutput.php#cl-163|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[API17:JFilterOutput|JFilterOutput]] | ||
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Filter|Filter]] | ||
+ | * [[API17:JFilterOutput::cleanText|Other versions of JFilterOutput::cleanText]] | ||
− | + | ||
− | + | ===User contributed notes=== | |
− | === | + | === Code Examples === |
− | === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JFilterOutput::cleanText | category=JFilterOutput::cleanText | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:02, 24 March 2017
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JFilterOutput::cleanText[edit]
Description[edit]
Cleans text of all formating and scripting code.
public static function cleanText (&$text)
Parameter | Type | Default | Description |
---|---|---|---|
&$text |
- Returns
- Defined on line 171 of libraries/joomla/filter/filteroutput.php
See also[edit]
- JFilterOutput::cleanText source code on BitBucket
- Class JFilterOutput
- Subpackage Filter
- Other versions of JFilterOutput::cleanText
User contributed notes[edit]
Code Examples[edit]