class ImportOds extends ImportPlugin (View source)

Handles the import for the ODS format

Properties

protected ImportPluginProperties $properties

Object containing the import plugin properties.

from  ImportPlugin
protected Import $import from  ImportPlugin

Methods

__construct()

No description

void
init()

Plugin specific initializations.

array
doImport(File|null $importHandle = null)

Handles the whole import logic

getProperties()

Gets the import specific format plugin properties

setProperties()

Sets the export plugins properties and is implemented by each import plugin.

array
getDbnameAndOptions(string $currentDb, string $defaultDb)

Define DB name and options

static bool
isAvailable()

No description

string
getName()

No description

float|string
getValue(SimpleXMLElement $cell_attrs, SimpleXMLElement $text)

Get value

Details

final __construct()

No description

protected void init()

Plugin specific initializations.

Return Value

void

array doImport(File|null $importHandle = null)

Handles the whole import logic

Parameters

File|null $importHandle

Return Value

array

PluginPropertyItem getProperties()

Gets the import specific format plugin properties

Return Value

PluginPropertyItem

protected ImportPluginProperties setProperties()

Sets the export plugins properties and is implemented by each import plugin.

Return Value

ImportPluginProperties

protected array getDbnameAndOptions(string $currentDb, string $defaultDb)

Define DB name and options

Parameters

string $currentDb DB
string $defaultDb

Default DB name

Return Value

array

DB name and options (an associative array of options)

static bool isAvailable()

No description

Return Value

bool

string getName()

No description

Return Value

string

protected float|string getValue(SimpleXMLElement $cell_attrs, SimpleXMLElement $text)

Get value

Parameters

SimpleXMLElement $cell_attrs

Cell attributes

SimpleXMLElement $text Texts

Return Value

float|string