Actions

API17

Difference between revisions of "JFilterOutput"

From Joomla! Documentation

m (JoomlaWikiBot moved page JFilterOutput/11.1 to API17:JFilterOutput without leaving a redirect: Robot: Moved page)
m (moving preparation)
 
(One intermediate revision by one user not shown)
Line 14: Line 14:
 
|-
 
|-
 
|public static  
 
|public static  
|[[JFilterOutput::_ampReplaceCallback/11.1|_ampReplaceCallback]]
+
|[[API17:JFilterOutput::_ampReplaceCallback|_ampReplaceCallback]]
 
|Callback method for replacing & with & in a string.  
 
|Callback method for replacing & with & in a string.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JFilterOutput::ampReplace/11.1|ampReplace]]
+
|[[API17:JFilterOutput::ampReplace|ampReplace]]
 
|Replaces & with & for xhtml compliance.  
 
|Replaces & with & for xhtml compliance.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JFilterOutput::cleanText/11.1|cleanText]]
+
|[[API17:JFilterOutput::cleanText|cleanText]]
 
|Cleans text of all formating and scripting code.  
 
|Cleans text of all formating and scripting code.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JFilterOutput::linkXHTMLSafe/11.1|linkXHTMLSafe]]
+
|[[API17:JFilterOutput::linkXHTMLSafe|linkXHTMLSafe]]
 
|This method processes a string and replaces all instances of & with & in links only.  
 
|This method processes a string and replaces all instances of & with & in links only.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JFilterOutput::objectHTMLSafe/11.1|objectHTMLSafe]]
+
|[[API17:JFilterOutput::objectHTMLSafe|objectHTMLSafe]]
 
|Makes an object safe to display in forms.  
 
|Makes an object safe to display in forms.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JFilterOutput::stringURLSafe/11.1|stringURLSafe]]
+
|[[API17:JFilterOutput::stringURLSafe|stringURLSafe]]
 
|This method processes a string and replaces all accented UTF-8 characters by unaccented ASCII-7 "equivalents", whitespaces are replaced by hyphens and the string is lowercased.  
 
|This method processes a string and replaces all accented UTF-8 characters by unaccented ASCII-7 "equivalents", whitespaces are replaced by hyphens and the string is lowercased.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JFilterOutput::stringURLUnicodeSlug/11.1|stringURLUnicodeSlug]]
+
|[[API17:JFilterOutput::stringURLUnicodeSlug|stringURLUnicodeSlug]]
 
|This method implements unicode slugs instead of transliteration.  
 
|This method implements unicode slugs instead of transliteration.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JFilterOutput::stripImages/11.1|stripImages]]
+
|[[API17:JFilterOutput::stripImages|stripImages]]
 
|Strip img-tags from string.  
 
|Strip img-tags from string.  
 
|-
 
|-
Line 51: Line 51:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JFilterOutput source code''' on [[jplatform:filter/filteroutput.php|BitBucket]]
 
* {{JVer|11.1}} '''JFilterOutput source code''' on [[jplatform:filter/filteroutput.php|BitBucket]]
* {{JVer|11.1}} Subpackage [[Subpackage Filter/11.1|Filter]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Filter|Filter]]
* [[JFilterOutput|Other versions of JFilterOutput]]
+
* [[API17:JFilterOutput|Other versions of JFilterOutput]]
 
{{SeeAlso:JFilterOutput}}
 
{{SeeAlso:JFilterOutput}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 68: Line 68:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JFilterOutput]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 20:41, 11 May 2013

Replacement filing cabinet.png
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.

Joomla 11.1 JFilterOutput

Description

Description:JFilterOutput [Edit Descripton]

Methods

Visibility Method name Description
public static _ampReplaceCallback Callback method for replacing & with & in a string.
public static ampReplace Replaces & with & for xhtml compliance.
public static cleanText Cleans text of all formating and scripting code.
public static linkXHTMLSafe This method processes a string and replaces all instances of & with & in links only.
public static objectHTMLSafe Makes an object safe to display in forms.
public static stringURLSafe This method processes a string and replaces all accented UTF-8 characters by unaccented ASCII-7 "equivalents", whitespaces are replaced by hyphens and the string is lowercased.
public static stringURLUnicodeSlug This method implements unicode slugs instead of transliteration.
public static stripImages Strip img-tags from string.
  • Defined in libraries/joomla/filter/filteroutput.php

Importing

jimport( 'joomla.filter.filteroutput' );

See also

  • Joomla 11.1 JFilterOutput source code on BitBucket
  • Joomla 11.1 Subpackage Filter
  • Other versions of JFilterOutput

SeeAlso:JFilterOutput [Edit See Also]

User contributed notes

<CodeExamplesForm />