ImportPlugin
abstract class ImportPlugin implements Plugin (View source)
Provides a common interface that will have to be implemented by all of the import plugins.
Properties
protected ImportPluginProperties | $properties | Object containing the import plugin properties. |
|
protected Import | $import |
Methods
No description
Plugin specific initializations.
Handles the whole import logic
Gets the import specific format plugin properties
Sets the export plugins properties and is implemented by each import plugin.
No description
Returns locale string for $text or $text if no locale is found
Details
final
__construct()
No description
protected void
init()
Plugin specific initializations.
abstract array
doImport(File|null $importHandle = null)
Handles the whole import logic
PluginPropertyItem
getProperties()
Gets the import specific format plugin properties
abstract protected ImportPluginProperties
setProperties()
Sets the export plugins properties and is implemented by each import plugin.
static bool
isAvailable()
No description
abstract void
setImportOptions(ServerRequest $request)
No description
string
getTranslatedText(string $text)
Returns locale string for $text or $text if no locale is found