This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Library_FileTypeList

Direct known subclasses

FileTypeList

Package: Core\Files
Category: Concrete
Copyright: Copyright (c) 2003-2009 Concrete5. (http://www.concrete5.org)
License: MIT License
Author: Andrew Embler andrew@concrete5.org
Located at core/libraries/file/types.php

Methods summary

public
public
# define( $extension, $name, $type, $customImporter = false, $inlineFileViewer = false, $editor = false, $pkgHandle = false )
public
# defineImporterAttribute( $akHandle, $akName, $akType, $akIsEditable )
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()