ImageTag
in package
uses
TraitCache
Read onlyYes
FinalYes
Table of Contents
Properties
- $cfgImgPath : array<string|int, mixed>
- $image : Image
- $cache : Cache
- $tplDefImage : string
- $urlImg : string
Methods
- __construct() : mixed
- getCacheInstance() : Cache
- getTag() : string
- getSmallest() : string
- Finde die Datei mit der kleinsten Größe
- getTagPicture() : string
- validateImageSize() : array<string|int, mixed>
Properties
$cfgImgPath
public
array<string|int, mixed>
$cfgImgPath
$image
public
Image
$image
$cache
private
Cache
$cache
$tplDefImage
private
string
$tplDefImage
$urlImg
private
string
$urlImg
Methods
__construct()
public
__construct() : mixed
getCacheInstance()
public
getCacheInstance() : Cache
Return values
CachegetTag()
public
getTag([array<string|int, mixed> $saTag = [] ][, bool $withPicture = true ]) : string
Parameters
- $saTag : array<string|int, mixed> = []
- $withPicture : bool = true
Return values
stringgetSmallest()
Finde die Datei mit der kleinsten Größe
private
getSmallest(string $strFile) : string
Parameters
- $strFile : string
Return values
stringgetTagPicture()
private
getTagPicture(string $strFile, string $strImage) : string
Parameters
- $strFile : string
- $strImage : string
Return values
stringvalidateImageSize()
private
validateImageSize(array<string|int, mixed> $saTag) : array<string|int, mixed>
Parameters
- $saTag : array<string|int, mixed>