Function Mail_dispatcher_base->get_image_for_cid

Definitions

sources/mail.php

  • Download a URL, for use as an inline mail image.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$img URLPATH required parameter N/A N/A URL
$as ?MEMBER required parameter N/A N/A Convert Comcode->tempcode as this member (a privilege thing: we don't want people being able to use admin rights by default!) (null: guest)
$total_filesize integer required parameter N/A N/A Reference to where total filesize is being held

Return

  • A tuple: Mime type filename, file contents (null: error)
  • Type: ?array
  • Set: N/A
  • Range: N/A