Add common function to get list of supported extensions

This commit is contained in:
Nathan Gray 2011-02-22 19:46:09 +00:00
parent 6554ca4c09
commit 03d3b5c36b

View File

@ -773,4 +773,11 @@ abstract class bo_merge
}
return $list;
}
/**
* Get a list of supported extentions
*/
public static function get_file_extensions() {
return array('txt', 'rtf', 'odt', 'ods', 'docx', 'xml');
}
}