Class TypeList

Methods summary

public static Concrete\Core\File\Type\TypeList
public
# define( $extension, $name, $type, $customImporter = false, $inlineFileViewer = false, $editor = false, $pkgHandle = false )
public
# defineMultiple( array $types )
public
# defineImporterAttribute( $akHandle, $akName, $akType, $akIsEditable )
public
# defineImporterAttributeMultiple( array $importer_attributes )
public
# getImporterAttribute( $akHandle )
public static
# getType( $ext )

Can take an extension or a filename Returns any registered information we have for the particular file type, based on its registration

Properties summary

protected array $types
# array()
protected array $importerAttributes
# array()