ImageTools
in package
Read onlyYes
FinalYes
Table of Contents
Properties
- $cfgImgPath : array<string|int, mixed>
- $image : Image
- $defPath : array<string|int, mixed>
- $sizeFlyer : array<string|int, mixed>
- $sizeParty : array<string|int, mixed>
Methods
- __construct() : mixed
- getClassicOrWebP() : string
- Gibt *.webp zurück, wenn vorhanden
- makeNew() : string
- getTargetsForNew() : array<string|int, mixed>
Properties
$cfgImgPath
public
array<string|int, mixed>
$cfgImgPath
$image
public
Image
$image
$defPath
private
array<string|int, mixed>
$defPath
$sizeFlyer
private
array<string|int, mixed>
$sizeFlyer
$sizeParty
private
array<string|int, mixed>
$sizeParty
Methods
__construct()
public
__construct() : mixed
getClassicOrWebP()
Gibt *.webp zurück, wenn vorhanden
public
getClassicOrWebP(string $strPathImgFile) : string
Parameters
- $strPathImgFile : string
Return values
stringmakeNew()
public
makeNew(string $strImage[, string $strSize = 'small' ][, string $strType = 'flyer' ][, bool $bForce = false ]) : string
Parameters
- $strImage : string
- $strSize : string = 'small'
- $strType : string = 'flyer'
- $bForce : bool = false
Return values
stringgetTargetsForNew()
private
getTargetsForNew([string $strSize = '' ][, string $strType = 'flyer' ]) : array<string|int, mixed>
Parameters
- $strSize : string = ''
- $strType : string = 'flyer'