CsvImportCommand
extends BaseCommand
in package
Import CSV information object data.
Native implementation of the csv:import Symfony task. Uses Propel classes via PropelBridge for object hydration and persistence.
Table of Contents
Methods
- __construct() : mixed
- arraySearchCaseInsensitive() : mixed
- getDescription() : string
- Get the command description.
- getName() : string
- Get the command name.
- getNamespace() : string
- Get the namespace portion of the command name.
- importAlternateFormsOfName() : void
- importEvents() : void
- importPhysicalObjects() : void
- matchExistingEvent() : mixed
- refreshTaxonomyTerms() : mixed
- run() : int
- Run the command (called by the CLI router).
- setAlternativeIdentifiers() : void
Methods
__construct()
public
__construct([array<string|int, mixed> $argv = [] ]) : mixed
Parameters
- $argv : array<string|int, mixed> = []
arraySearchCaseInsensitive()
public
static arraySearchCaseInsensitive(mixed $search, mixed $array) : mixed
Parameters
- $search : mixed
- $array : mixed
getDescription()
Get the command description.
public
getDescription() : string
Return values
stringgetName()
Get the command name.
public
getName() : string
Return values
stringgetNamespace()
Get the namespace portion of the command name.
public
getNamespace() : string
Return values
stringimportAlternateFormsOfName()
public
static importAlternateFormsOfName(mixed $self) : void
Parameters
- $self : mixed
importEvents()
public
static importEvents(mixed &$import) : void
Parameters
- $import : mixed
importPhysicalObjects()
public
static importPhysicalObjects(mixed $self) : void
Parameters
- $self : mixed
matchExistingEvent()
public
static matchExistingEvent(mixed $objectId, mixed $typeId, mixed $actorName) : mixed
Parameters
- $objectId : mixed
- $typeId : mixed
- $actorName : mixed
refreshTaxonomyTerms()
public
static refreshTaxonomyTerms(mixed $taxonomyId) : mixed
Parameters
- $taxonomyId : mixed
run()
Run the command (called by the CLI router).
public
run() : int
Return values
intsetAlternativeIdentifiers()
public
static setAlternativeIdentifiers(mixed $io, mixed $altIds, mixed $altIdLabels) : void
Parameters
- $io : mixed
- $altIds : mixed
- $altIdLabels : mixed