LDAP Account Manager

ConfigDataImporter
in package

Importer for LAM's configuration data.

Table of Contents

getPossibleImportSteps()  : array<string|int, ImporterStep>
Returns a list of possible import objects.
runImport()  : mixed
Runs the actual import.
importAccountProfiles()  : mixed
Imports the account profiles.
importAccountProfileTemplates()  : mixed
Imports the account profile templates.
importCertificates()  : mixed
Imports the SSL certificates.
importCronJobs()  : mixed
Imports the cron jobs.
importMainConfig()  : mixed
Imports the main configuration.
importPdfProfiles()  : mixed
Imports the PDF profiles.
importPdfProfileTemplates()  : mixed
Imports the PDF profile templates.
importSelfServiceProfiles()  : mixed
Imports the self service profiles.
importServerProfiles()  : mixed
Imports the server profiles.
importWebauthn()  : mixed
Imports the webauthn data.

Methods

getPossibleImportSteps()

Returns a list of possible import objects.

public getPossibleImportSteps(string $json) : array<string|int, ImporterStep>
Parameters
$json : string

JSON data

Tags
throws
LAMException

if invalid format

Return values
array<string|int, ImporterStep>

steps

runImport()

Runs the actual import.

public runImport(array<string|int, ImporterStep$steps) : mixed
Parameters
$steps : array<string|int, ImporterStep>

import steps

Tags
throws
LAMException

if error occurred

Return values
mixed

importAccountProfileTemplates()

Imports the account profile templates.

private importAccountProfileTemplates(ImporterStep $step) : mixed
Parameters
$step : ImporterStep

step

Tags
throws
LAMException

error during import

Return values
mixed

importCertificates()

Imports the SSL certificates.

private importCertificates(null|string $data) : mixed
Parameters
$data : null|string

file content

Tags
throws
LAMException

error during import

Return values
mixed

importMainConfig()

Imports the main configuration.

private importMainConfig(array<string|int, mixed> $data) : mixed
Parameters
$data : array<string|int, mixed>

main config data

Tags
throws
LAMException

error during import

Return values
mixed

importPdfProfileTemplates()

Imports the PDF profile templates.

private importPdfProfileTemplates(ImporterStep $step) : mixed
Parameters
$step : ImporterStep

step

Tags
throws
LAMException

error during import

Return values
mixed

importSelfServiceProfiles()

Imports the self service profiles.

private importSelfServiceProfiles(ImporterStep $step) : mixed
Parameters
$step : ImporterStep

importer step

Tags
throws
LAMException

error saving profiles

Return values
mixed

Search results