concrete/src/File/Service/Application.php
public function serializeUploadFileExtensions($types)
    {
        $serialized = '';
        $types = preg_replace('{[^a-z0-9]}i', '', $types);
        foreach ($types as $type) {
            $serialized .= '*.'.$type.';';
        }
        //removing trailing ; unclear if multiupload will choke on that or not
        $serialized = substr($serialized, 0, strlen($serialized) - 1);

        return $serialized;
    }
public function serializeUploadFileExtensions($types)
    {
        $serialized = '';
        $types = preg_replace('{[^a-z0-9]}i', '', $types);
        foreach ($types as $type) {
            $serialized .= '*.'.$type.';';
        }
        //removing trailing ; unclear if multiupload will choke on that or not
        $serialized = substr($serialized, 0, strlen($serialized) - 1);

        return $serialized;
    }
public function serializeUploadFileExtensions ( $ types ) { $ serialized = '' ; $ types = preg_replace ( '{[^a-z0-9]}i' , '' , $ types ) ; foreach ( $ types as $ type ) { $ serialized .= '*.' . $ type . ';' ; } //removing trailing ; unclear if multiupload will choke on that or not $ serialized = substr ( $ serialized , 0 , strlen ( $ serialized ) - 1 ) ; return $ serialized ; }
Serializes an array of strings into format suitable for multi-uploader.

example for format:
'*.flv;*.jpg;*.gif;*.jpeg;*.ico;*.docx;*.xla;*.png;*.psd;*.swf;*.doc;*.txt;*.xls;*.csv;*.pdf;*.tiff;*.rtf;*.m4a;*.mov;*.wmv;*.mpeg;*.mpg;*.wav;*.avi;*.mp4;*.mp3;*.qt;*.ppt;*.kml'

@param array $types

@return string
Serializes an array of strings into format suitable for multi - uploader .