ImportImageDto
in package
FinalYes
One `<images>` item: either `src` (URL to download) or `assetId` (an existing asset from an export).
main="1" moves the image to order=1. Alts are texts per language.
Table of Contents
Properties
- $alts : array<string|int, mixed>
- $assetId : int|null
- $line : int
- $main : bool
- $remove : bool
- $src : string|null
Methods
- __construct() : mixed
Properties
$alts read-only
public
array<string|int, mixed>
$alts
$assetId read-only
public
int|null
$assetId
$line read-only
public
int
$line
$main read-only
public
bool
$main
$remove read-only
public
bool
$remove
$src read-only
public
string|null
$src
Methods
__construct()
public
__construct(string|null $src, int|null $assetId, bool $main, array<int, ImportValue> $alts, bool $remove, int $line) : mixed
Parameters
- $src : string|null
- $assetId : int|null
- $main : bool
- $alts : array<int, ImportValue>
- $remove : bool
- $line : int