ImportContentParam
in package
Table of Contents
- $data : array<string|int, mixed>|null
- Data after processing
- $file : array<string|int, mixed>|null
- File reference with name and path
- $folder : Folder|null
- $job : CronJob|null
- The calling job instance
- $language : string|null
- The target language
- $mapping : array<string|int, mixed>|null
- Field mappings
- $payload : array<string|int, mixed>|null
- The payload from form
- $type : string|null
- The content type
- __construct() : mixed
- Import content param constructor.
Properties
$data
Data after processing
public
array<string|int, mixed>|null
$data
= null
$file
File reference with name and path
public
array<string|int, mixed>|null
$file
= null
$folder
public
Folder|null
$folder
= null
$job
The calling job instance
public
CronJob|null
$job
= null
$language
The target language
public
string|null
$language
= null
$mapping
Field mappings
public
array<string|int, mixed>|null
$mapping
= null
$payload
The payload from form
public
array<string|int, mixed>|null
$payload
= null
$type
The content type
public
string|null
$type
= null
Methods
__construct()
Import content param constructor.
public
__construct(string $type, string $language, array<string|int, mixed> $file, array<string|int, mixed> $mapping, array<string|int, mixed> $payload, Folder $folder) : mixed
Parameters
- $type : string
-
The target type
- $language : string
-
The language
- $file : array<string|int, mixed>
-
The processed file as reference
- $mapping : array<string|int, mixed>
-
The field mapping
- $payload : array<string|int, mixed>
-
The additional payload from frontend
- $folder : Folder
-
The folder