API17

Difference between revisions of "JFilterOutput::stringURLSafe"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (preparing for archive only)
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
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.  
  
{{Description:JFilterOutput::stringURLSafe}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JFilterOutput::stringURLSafe|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public static function stringURLSafe ($string)
 
public static function stringURLSafe ($string)
Line 28: Line 26:
 
* '''Since''' {{JVer|11.1 }}
 
* '''Since''' {{JVer|11.1 }}
 
* '''Referenced by'''
 
* '''Referenced by'''
** [[JApplication::stringURLSafe/11.1|JApplication::stringURLSafe]]
+
** [[API17:JApplication::stringURLSafe|JApplication::stringURLSafe]]
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JFilterOutput::stringURLSafe source code''' on [[jplatform:filter/filteroutput.php#cl-71|BitBucket]]
 
* {{JVer|11.1}} '''JFilterOutput::stringURLSafe source code''' on [[jplatform:filter/filteroutput.php#cl-71|BitBucket]]
* {{JVer|11.1}} Class [[JFilterOutput/11.1|JFilterOutput]]
+
* {{JVer|11.1}} Class [[API17:JFilterOutput|JFilterOutput]]
* {{JVer|11.1}} Subpackage [[Subpackage_Filter/11.1|Filter]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filter|Filter]]
* [[JFilterOutput::stringURLSafe|Other versions of JFilterOutput::stringURLSafe]]
+
* [[API17:JFilterOutput::stringURLSafe|Other versions of JFilterOutput::stringURLSafe]]
{{SeeAlso:JFilterOutput::stringURLSafe}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JFilterOutput::stringURLSafe|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JFilterOutput::stringURLSafe
 
category=JFilterOutput::stringURLSafe
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 49: Line 45:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JFilterOutput]][[Category:JFilterOutput::stringURLSafe]]</noinclude>
+
<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.

Joomla 11.1 JFilterOutput::stringURLSafe[edit]

Description[edit]

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 function stringURLSafe ($string)
Parameter Type Default Description
$string string $input String to process
  • Returns string Processed string
  • Defined on line 79 of libraries/joomla/filter/filteroutput.php
  • Since Joomla 11.1
  • Referenced by

See also[edit]


User contributed notes[edit]

Code Examples[edit]