DeckImportResult
in package
FinalYes
Outcome of importing a foreign Anki deck.
Every note is accounted for in exactly one bucket, so the totals add up and the user can see why a big deck produced fewer terms than they expected.
Table of Contents
Properties
- $created : int
- $samples : array<string|int, mixed>
- $skippedEmpty : int
- $skippedExisting : int
- $skippedTooLong : int
- $statusCounts : array<string|int, mixed>
- $totalNotes : int
Methods
- __construct() : mixed
Properties
$created read-only
public
int
$created
$samples read-only
public
array<string|int, mixed>
$samples
$skippedEmpty read-only
public
int
$skippedEmpty
$skippedExisting read-only
public
int
$skippedExisting
$skippedTooLong read-only
public
int
$skippedTooLong
$statusCounts read-only
public
array<string|int, mixed>
$statusCounts
$totalNotes read-only
public
int
$totalNotes
Methods
__construct()
public
__construct(int $totalNotes, int $created, int $skippedExisting, int $skippedEmpty, int $skippedTooLong, array<int, int> $statusCounts, array<int, string> $samples) : mixed
Parameters
- $totalNotes : int
-
Notes read for the chosen notetype
- $created : int
-
New LWT terms created
- $skippedExisting : int
-
Terms LWT already had
- $skippedEmpty : int
-
Notes whose term field was blank
- $skippedTooLong : int
-
Terms exceeding the WoText column
- $statusCounts : array<int, int>
-
status => number of terms created
- $samples : array<int, string>
-
A few created terms, for the summary