LDAP Account Manager

ConfigDataExporter
in package

Exporter for LAM's configuration data.

Table of Contents

_getAccountProfiles()  : array<string|int, mixed>
Returns the content of the account profiles.
_getAccountProfileTemplates()  : array<string|int, mixed>
Returns the content of the account profile templates.
_getCertificates()  : array<string|int, mixed>
Returns the certificate file content.
_getCronJobData()  : array<string|int, mixed>
Returns the content of the cron jobs.
_getMainConfigData()  : array<string|int, mixed>
Internal function to read master configuration.
_getMainConfiguration()  : LAMCfgMain
Returns the main configuration.
_getPdfProfiles()  : array<string|int, mixed>
Returns the content of the PDF profiles.
_getPdfProfileTemplates()  : array<string|int, mixed>
Returns the content of the account profile templates.
_getSelfServiceProfiles()  : array<string|int, mixed>
Returns the content of the self service profiles.
_getServerProfiles()  : array<string|int, mixed>
Returns the content of the server profiles.
_getWebauthn()  : array<string|int, mixed>
Returns the content of the webauthn database.
exportAsJson()  : mixed
Exports LAM's configuration data in JSON format.

Methods

_getAccountProfiles()

Returns the content of the account profiles.

public _getAccountProfiles(array<string|int, mixed> $serverProfiles) : array<string|int, mixed>
Parameters
$serverProfiles : array<string|int, mixed>

list of server profiles (name => object)

Tags
throws
LAMException

error reading profiles

Return values
array<string|int, mixed>

$data export data

_getAccountProfileTemplates()

Returns the content of the account profile templates.

public _getAccountProfileTemplates() : array<string|int, mixed>
Tags
throws
LAMException

error reading template

Return values
array<string|int, mixed>

$data export data

_getCertificates()

Returns the certificate file content.

public _getCertificates(LAMCfgMain $mainCfg) : array<string|int, mixed>
Parameters
$mainCfg : LAMCfgMain

main config

Return values
array<string|int, mixed>

data

_getCronJobData()

Returns the content of the cron jobs.

public _getCronJobData(array<string|int, mixed> $serverProfiles) : array<string|int, mixed>
Parameters
$serverProfiles : array<string|int, mixed>

list of server profiles (name => object)

Tags
throws
LAMException

error reading cron jobs

Return values
array<string|int, mixed>

data

_getMainConfigData()

Internal function to read master configuration.

public _getMainConfigData(LAMCfgMain $mainCfg) : array<string|int, mixed>
Parameters
$mainCfg : LAMCfgMain

main config

Return values
array<string|int, mixed>

data

_getPdfProfiles()

Returns the content of the PDF profiles.

public _getPdfProfiles(array<string|int, mixed> $serverProfiles) : array<string|int, mixed>
Parameters
$serverProfiles : array<string|int, mixed>

list of server profiles (name => object)

Tags
throws
LAMException

error reading logo

Return values
array<string|int, mixed>

$data

_getPdfProfileTemplates()

Returns the content of the account profile templates.

public _getPdfProfileTemplates() : array<string|int, mixed>
Tags
throws
LAMException

error reading template

Return values
array<string|int, mixed>

$data

_getSelfServiceProfiles()

Returns the content of the self service profiles.

public _getSelfServiceProfiles() : array<string|int, mixed>
Return values
array<string|int, mixed>

data

_getServerProfiles()

Returns the content of the server profiles.

public _getServerProfiles(array<string|int, mixed> $serverProfiles) : array<string|int, mixed>
Parameters
$serverProfiles : array<string|int, mixed>

list of server profiles (name => object)

Return values
array<string|int, mixed>

$data

_getWebauthn()

Returns the content of the webauthn database.

public _getWebauthn() : array<string|int, mixed>
Return values
array<string|int, mixed>

data

exportAsJson()

Exports LAM's configuration data in JSON format.

public exportAsJson() : mixed
Tags
throws
LAMException

error during export

Return values
mixed

Search results