source/Application/Controller/Admin/OrderOverview.php
public function makeValidFileName($sFilename)
    {
        $sFilename = preg_replace('/[\s]+/', '_', $sFilename);
        $sFilename = preg_replace('/[^a-zA-Z0-9_\.-]/', '', $sFilename);

        return str_replace(' ', '_', $sFilename);
    }
public function makeValidFileName($sFilename)
    {
        $sFilename = preg_replace('/[\s]+/', '_', $sFilename);
        $sFilename = preg_replace('/[^a-zA-Z0-9_\.-]/', '', $sFilename);

        return str_replace(' ', '_', $sFilename);
    }
public function makeValidFileName ( $ sFilename ) { $ sFilename = preg_replace ( '/[\s]+/' , '_' , $ sFilename ) ; $ sFilename = preg_replace ( '/[^a-zA-Z0-9_\.-]/' , '' , $ sFilename ) ; return str_replace ( ' ' , '_' , $ sFilename ) ; }
Gets proper file name

@param string $sFilename file name

@return string
Gets proper file name