API17

API17:JFilterOutput::stringURLSafe

From Joomla! Documentation

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