an array in function serendipity_makeFilename
Posted: Mon Dec 04, 2006 8:46 am
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]