API17

JFilterOutput::stringURLSafe

From Joomla! Documentation

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]