public static function decodeFilter($filter, $data) {
		switch ($filter) {
			case 'ASCIIHexDecode': {
				return self::decodeFilterASCIIHexDecode($data);
				break;
			}
			case 'ASCII85Decode': {
				return self::decodeFilterASCII85Decode($data);
				break;
			}
			case 'LZWDecode': {
				return self::decodeFilterLZWDecode($data);
				break;
			}
			case 'FlateDecode': {
				return self::decodeFilterFlateDecode($data);
				break;
			}
			case 'RunLengthDecode': {
				return self::decodeFilterRunLengthDecode($data);
				break;
			}
			case 'CCITTFaxDecode': {
				return self::decodeFilterCCITTFaxDecode($data);
				break;
			}
			case 'JBIG2Decode': {
				return self::decodeFilterJBIG2Decode($data);
				break;
			}
			case 'DCTDecode': {
				return self::decodeFilterDCTDecode($data);
				break;
			}
			case 'JPXDecode': {
				return self::decodeFilterJPXDecode($data);
				break;
			}
			case 'Crypt': {
				return self::decodeFilterCrypt($data);
				break;
			}
			default: {
				return self::decodeFilterStandard($data);
				break;
			}
		}
	}
public static function decodeFilter($filter, $data) {
		switch ($filter) {
			case 'ASCIIHexDecode': {
				return self::decodeFilterASCIIHexDecode($data);
				break;
			}
			case 'ASCII85Decode': {
				return self::decodeFilterASCII85Decode($data);
				break;
			}
			case 'LZWDecode': {
				return self::decodeFilterLZWDecode($data);
				break;
			}
			case 'FlateDecode': {
				return self::decodeFilterFlateDecode($data);
				break;
			}
			case 'RunLengthDecode': {
				return self::decodeFilterRunLengthDecode($data);
				break;
			}
			case 'CCITTFaxDecode': {
				return self::decodeFilterCCITTFaxDecode($data);
				break;
			}
			case 'JBIG2Decode': {
				return self::decodeFilterJBIG2Decode($data);
				break;
			}
			case 'DCTDecode': {
				return self::decodeFilterDCTDecode($data);
				break;
			}
			case 'JPXDecode': {
				return self::decodeFilterJPXDecode($data);
				break;
			}
			case 'Crypt': {
				return self::decodeFilterCrypt($data);
				break;
			}
			default: {
				return self::decodeFilterStandard($data);
				break;
			}
		}
	}
public static function decodeFilter ( $ filter , $ data ) { switch ( $ filter ) { case 'ASCIIHexDecode' : { return self :: decodeFilterASCIIHexDecode ( $ data ) ; break ; } case 'ASCII85Decode' : { return self :: decodeFilterASCII85Decode ( $ data ) ; break ; } case 'LZWDecode' : { return self :: decodeFilterLZWDecode ( $ data ) ; break ; } case 'FlateDecode' : { return self :: decodeFilterFlateDecode ( $ data ) ; break ; } case 'RunLengthDecode' : { return self :: decodeFilterRunLengthDecode ( $ data ) ; break ; } case 'CCITTFaxDecode' : { return self :: decodeFilterCCITTFaxDecode ( $ data ) ; break ; } case 'JBIG2Decode' : { return self :: decodeFilterJBIG2Decode ( $ data ) ; break ; } case 'DCTDecode' : { return self :: decodeFilterDCTDecode ( $ data ) ; break ; } case 'JPXDecode' : { return self :: decodeFilterJPXDecode ( $ data ) ; break ; } case 'Crypt' : { return self :: decodeFilterCrypt ( $ data ) ; break ; } default : { return self :: decodeFilterStandard ( $ data ) ; break ; } } }
Decode data using the specified filter type.
@param $filter (string) Filter name.
@param $data (string) Data to decode.
@return Decoded data string.
@since 1.0.000 (2011-05-23)
@public static
Decode data using the specified filter type .