Function __global->get_mime_types

Definitions

sources/mime_types.php

  • Find available mime types.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$as_admin boolean required parameter N/A N/A Whether there are admin privileges; to render dangerous media types (client-side risk only)

Return

  • The MIME types
  • Type: array
  • Set: N/A
  • Range: N/A