IMP_Images
in package
Common code relating to image viewing preferences.
Tags
Table of Contents
Properties
- $alwaysShow : bool
- Always show inline images?
- $_cache : array<string|int, mixed>
- Results cache.
Methods
- showInlineImage() : bool
- Show inline images in messages?
- _showInlineImage() : mixed
Properties
$alwaysShow
Always show inline images?
public
bool
$alwaysShow
= \false
$_cache
Results cache.
protected
array<string|int, mixed>
$_cache
= array()
Methods
showInlineImage()
Show inline images in messages?
public
showInlineImage(IMP_Contents $contents) : bool
Parameters
- $contents : IMP_Contents
-
The contents object containing the message.
Return values
bool —True if inline image should be shown.
_showInlineImage()
protected
_showInlineImage(IMP_Contents $contents) : mixed
Parameters
- $contents : IMP_Contents