CoolCMS API

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

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
On this page

Search results