/** * Return the friendly url from the provided string. * * @param string $str * @param bool $utf8_decode (deprecated) * * @return string */ public function link_rewrite($str, $utf8_decode = null) { if ($utf8_decode !== null) { \ToolsCore::displayParameterAsDeprecated('utf8_decode'); } return \ToolsCore::str2url($str); }