API17

JFilterOutput::stringURLSafe: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
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.  


{{subst:Description:JFilterOutput::stringURLSafe}}
 


<source lang="php">
<source lang="php">
Line 32: Line 32:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filter|Filter]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filter|Filter]]
* [[API17:JFilterOutput::stringURLSafe|Other versions of JFilterOutput::stringURLSafe]]
* [[API17:JFilterOutput::stringURLSafe|Other versions of JFilterOutput::stringURLSafe]]
{{subst:SeeAlso:JFilterOutput::stringURLSafe}}
 


===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=*

Latest revision as of 03:02, 25 March 2017

Joomla 11.1 JFilterOutput::stringURLSafe

Description

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


User contributed notes

Code Examples