ImportContentRowParam
in package
Used in hook before content row import
Table of Contents
- $attributes : array<string|int, mixed>
- Content attributes to import
- $first_is_primary : bool
- $index : int
- $job : CronJob|null
- The calling job instance
- $payload : array<string|int, mixed>
- $relation : array<string|int, mixed>
- Reference to patch relation attributes
- $row : array<string|int, mixed>
- The row from csv, indexed with number
- $setup : array<string|int, mixed>
- The cron setup
- __construct() : mixed
Properties
$attributes
Content attributes to import
public
array<string|int, mixed>
$attributes
$first_is_primary
public
bool
$first_is_primary
= true
$index
public
int
$index
= -1
$job
The calling job instance
public
CronJob|null
$job
= null
$payload
public
array<string|int, mixed>
$payload
$relation
Reference to patch relation attributes
public
array<string|int, mixed>
$relation
= []
$row
The row from csv, indexed with number
public
array<string|int, mixed>
$row
$setup
The cron setup
public
array<string|int, mixed>
$setup
Methods
__construct()
public
__construct(array<string|int, mixed> $attributes, array<string|int, mixed> $setup, array<string|int, mixed> $row, array<string|int, mixed> $payload, int $index, bool $first_is_primary) : mixed
Parameters
- $attributes : array<string|int, mixed>
- $setup : array<string|int, mixed>
- $row : array<string|int, mixed>
- $payload : array<string|int, mixed>
- $index : int
- $first_is_primary : bool