public function get_handled_file_types($module) {
        $types = array();
        foreach ($this->filehandlers as $handler) {
            if ($handler->module == $module) {
                if ($handler->extension == '*') {
                    return '*';
                } else {
                    // Prepending '.' as otherwise mimeinfo fails.
                    $types[] = '.'.$handler->extension;
                }
            }
        }
        return $types;
    }
public function get_handled_file_types($module) {
        $types = array();
        foreach ($this->filehandlers as $handler) {
            if ($handler->module == $module) {
                if ($handler->extension == '*') {
                    return '*';
                } else {
                    // Prepending '.' as otherwise mimeinfo fails.
                    $types[] = '.'.$handler->extension;
                }
            }
        }
        return $types;
    }
public function get_handled_file_types ( $ module ) { $ types = array ( ) ; foreach ( $ this -> filehandlers as $ handler ) { if ( $ handler -> module == $ module ) { if ( $ handler -> extension == '*' ) { return '*' ; } else { // Prepending '.' as otherwise mimeinfo fails. $ types [ ] = '.' . $ handler -> extension ; } } } return $ types ; }
Gets a list of the file types that are handled by a particular module

@param string $module The name of the module to check
@return array of file extensions or string '*'
Gets a list of the file types that are handled by a particular module