ImageTools
in package
Table of Contents
Properties
- $image : Image
- $defPath : array<string|int, mixed>
- $imgPath : 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
- initParams() : void
- makeNew() : string
- getTargetsForNew() : array<string|int, mixed>
Properties
$image
public
Image
$image
$defPath
private
array<string|int, mixed>
$defPath
$imgPath
private
array<string|int, mixed>
$imgPath
$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
stringinitParams()
public
initParams() : void
makeNew()
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'