API17

JFilterOutput::stringURLSafe: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(6 intermediate revisions by 2 users 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>
===Since===
{{JVer|11.1 }}
===Synopsis===
<source lang="php">
<source lang="php">
public static JFilterOutput::stringURLSafe ($string)
public static function stringURLSafe ($string)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 27: Line 22:
|-
|-
|}
|}
===Returns===
* '''Returns''' string Processed string
string Processed string
* '''Defined''' on line 79 of libraries/joomla/filter/filteroutput.php
===Defined in===
* '''Since''' {{JVer|11.1 }}
libraries/joomla/filter/filteroutput.php
* '''Referenced by'''
===Referenced by===
** [[API17:JApplication::stringURLSafe|JApplication::stringURLSafe]]
* [[JApplication/stringURLSafe/11.1|JApplication::stringURLSafe]]
===See also===
===See also===
<span class="editsection" style="font-size:76%;">
* {{JVer|11.1}} '''JFilterOutput::stringURLSafe source code''' on [[jplatform:filter/filteroutput.php#cl-71|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JFilterOutput::stringURLSafe|Edit See Also]]<nowiki>]</nowiki>
* {{JVer|11.1}} Class [[API17:JFilterOutput|JFilterOutput]]
</span>
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filter|Filter]]
* [[JFilterOutput/11.1|JFilterOutput]]
* [[API17:JFilterOutput::stringURLSafe|Other versions of JFilterOutput::stringURLSafe]]
* [[JFilterOutput::stringURLSafe|Other versions of this method]]
 
{{SeeAlso:JFilterOutput::stringURLSafe}}
 
===Examples===
===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=*
namespace=CodeExample
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 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