TwistPHP Documentation

mimeTypes

File path: dist/twist/Core/Utilities/File.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

mimeTypesGet all mime type information or mime type for a selected type i.e document, spreadsheet, archive

Parameters

Name Type Description
[$strType = null]stringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strType null;

//Call the function mimeTypes with the example vars
Twist::File() -> mimeTypes($strType);