PHP Class OCA\Richdocuments\Filter

Show file Open project: owncloud/richdocuments Class Usage Examples

Protected Properties

Property Type Description
$filters

Public Methods

Method Description
add ( $mimetype, $class )
getAll ( )
isSupportedMimetype ( string $mimetype ) : boolean Checks if mimetype is supported by the app
read ( $content, $mimetype )
write ( $content, $mimetype )

Method Details

add() public static method

public static add ( $mimetype, $class )

getAll() public static method

public static getAll ( )

isSupportedMimetype() public static method

Checks if mimetype is supported by the app
public static isSupportedMimetype ( string $mimetype ) : boolean
$mimetype string - checked mimetype
return boolean

read() public static method

public static read ( $content, $mimetype )

write() public static method

public static write ( $content, $mimetype )

Property Details

$filters protected static property

protected static $filters