Code: Select all
function serendipity_makeFilename($str, $stripDots = false) {
static $from = array(
' ',
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?,
'?);
static $to = array(
'-',
'AE',
'ae',
'OE',
'oe',
'UE',
'ue',
'ss',
'e',
'e',
'e',
'i',
'i',
'i',
'a',
'a',
'a',
'a',
'o',
'o',
'o',
'o',
'u',
'u',
'u',
'c',
'C',
'n',
'y');I can't understand the array $from.
is it right in syntax?[/code]