Documentation

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

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

On this page

Search results