## Aurigma Image Uploader Flash 1.0

# Restrictions.FileFilters Property

- Collapse All Sections
- See Also
- Language Filter ( all languages )

Gets or sets file filtering options.

## Syntax

### PHP

    public function getFileFilters() {
    }

    public function setFileFilters($value) {
    }

### Property Value

Type: string

A JSON formatted string containing the array of filtering options.

Default value is "[]".

## Example

The code sample below demonstrates how to set three filtering options, namely, Images, Documents, and All files.

### PHP

    $uploader = new ImageUploaderFlash();

    $uploader->getRestrictions()->setFileFilters(
        "[['Images (*.jpg; *.jpeg; *.png; *.gif; *.bmp)', '*.jpg;*.jpeg;*.png;*.gif;*.bmp'],
          ['Documents (*.txt;*.rtf;*.pdf;*.doc;*.docx;*.xls;*.xlsx)', '*.txt;*.rtf;*.pdf;*.doc;*.docx;*.xls;*.xlsx'],
          ['All files (*.*)', '*.*']]"
    );

## See Also

### Reference

- Aurigma.Uploader.Restrictions.FileFilters ASP.NET Property
- $au.restrictions.fileFilters Java Script Property

### Manual

- Configuring Restrictions and File Filters