API docs     >     Files

Filetypes

Description

The Filetypes class, which represents an instance of the Filetype manager.

Methods

Constructor of the Filetypes class
add
Adds a new Filetype
get
Gets basic information about the Filetype
Gets a Filetype (by code)
Gets a Filetype (by identifier)
Gets a list of Filetypes array Array of Filetypes
Gets the processor for the Filetype
Callback method which is executed when a Usergroup permission on a Cblock changes
Callback method which is executed when Usergroup permissions on a Cblock change
Removes a Filetype
Sets the code for a Filetype
Sets the color for a Filetype
Sets the file-extensions for a Filetype
Sets the identifier for a Filetype
Sets the name for a Filetype
Sets the processor for a Filetype
Sets/removes the "readonly" flag of a Filetype