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() : void
- Imports the account profiles.
- importAccountProfileTemplates() : void
- Imports the account profile templates.
- importCertificates() : void
- Imports the SSL certificates.
- importCronJobs() : void
- Imports the cron jobs.
- importMainConfig() : void
- Imports the main configuration.
- importPdfProfiles() : void
- Imports the PDF profiles.
- importPdfProfileTemplates() : void
- Imports the PDF profile templates.
- importRequestAccess() : void
- Imports request access data.
- importSelfServiceProfiles() : void
- Imports the self service profiles.
- importServerProfiles() : void
- Imports the server profiles.
- importWebauthn() : void
- 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
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
Return values
mixed —importAccountProfiles()
Imports the account profiles.
private
importAccountProfiles(ImporterStep $step) : void
Parameters
- $step : ImporterStep
-
step
Tags
Return values
void —importAccountProfileTemplates()
Imports the account profile templates.
private
importAccountProfileTemplates(ImporterStep $step) : void
Parameters
- $step : ImporterStep
-
step
Tags
Return values
void —importCertificates()
Imports the SSL certificates.
private
importCertificates(null|string $data) : void
Parameters
- $data : null|string
-
file content
Tags
Return values
void —importCronJobs()
Imports the cron jobs.
private
importCronJobs(ImporterStep $step) : void
Parameters
- $step : ImporterStep
-
step
Tags
Return values
void —importMainConfig()
Imports the main configuration.
private
importMainConfig(array<string|int, mixed> $data) : void
Parameters
- $data : array<string|int, mixed>
-
main config data
Tags
Return values
void —importPdfProfiles()
Imports the PDF profiles.
private
importPdfProfiles(ImporterStep $step) : void
Parameters
- $step : ImporterStep
-
step
Tags
Return values
void —importPdfProfileTemplates()
Imports the PDF profile templates.
private
importPdfProfileTemplates(ImporterStep $step) : void
Parameters
- $step : ImporterStep
-
step
Tags
Return values
void —importRequestAccess()
Imports request access data.
private
importRequestAccess(ImporterStep $step) : void
Parameters
- $step : ImporterStep
-
step
Tags
Return values
void —importSelfServiceProfiles()
Imports the self service profiles.
private
importSelfServiceProfiles(ImporterStep $step) : void
Parameters
- $step : ImporterStep
-
importer step
Tags
Return values
void —importServerProfiles()
Imports the server profiles.
private
importServerProfiles(ImporterStep $step) : void
Parameters
- $step : ImporterStep
-
step
Tags
Return values
void —importWebauthn()
Imports the webauthn data.
private
importWebauthn(ImporterStep $step) : void
Parameters
- $step : ImporterStep
-
importer step