TypeList
class TypeList (View source)
Properties
protected Type[] | $types | ||
protected stdClass[] | $importerAttributes |
Methods
static TypeList
getInstance()
No description
define(string $extension, string $name, int $type, string $customImporter = '', string $inlineFileViewer = '', string $editor = '', string $pkgHandle = '')
Register a file type.
defineMultiple(array $types)
Register multiple file types.
defineImporterAttribute($akHandle, $akName, $akType, $akIsEditable)
No description
defineImporterAttributeMultiple(array $importer_attributes)
No description
static stdClass|null
getImporterAttribute(string $akHandle)
No description
Details
static TypeList
getInstance()
No description
define(string $extension, string $name, int $type, string $customImporter = '', string $inlineFileViewer = '', string $editor = '', string $pkgHandle = '')
Register a file type.
defineMultiple(array $types)
Register multiple file types.
defineImporterAttribute($akHandle, $akName, $akType, $akIsEditable)
No description
defineImporterAttributeMultiple(array $importer_attributes)
No description
static stdClass|null
getImporterAttribute(string $akHandle)
No description
static Type
getType($ext)
Can take an extension or a filename Returns any registered information we have for the particular file type, based on its registration.