FileAccess Orion

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

$file

File reference with name and path

public array<string|int, mixed>|null $file = null

$payload

The payload from form

public array<string|int, mixed>|null $payload = 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

Return values
mixed

Search results