LDAP Account Manager

ConfigDataExporter
in package

Exporter for LAM's configuration data.

Table of Contents

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

Methods

_getAccountProfiles()

Returns the content of the account profiles.

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

list of server profiles (name => object)

Tags
throws
LAMException

error reading profiles

Return values
array<string, array<string, array<string, array<string, array<string|int, string>>>>>

$data export data

_getAccountProfileTemplates()

Returns the content of the account profile templates.

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

error reading template

Return values
array<string, array<string, array<string, array<string|int, string>>>>

$data export data

_getCertificates()

Returns the certificate file content.

public _getCertificates(LAMCfgMain $mainCfg) : string|null
Parameters
$mainCfg : LAMCfgMain

main config

Return values
string|null

data

_getCronJobData()

Returns the content of the cron jobs.

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

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, string|string[]|int|bool|null>
Parameters
$mainCfg : LAMCfgMain

main config

Return values
array<string, string|string[]|int|bool|null>

data

_getPdfProfiles()

Returns the content of the PDF profiles.

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

list of server profiles (name => object)

Tags
throws
LAMException

error reading logo

Return values
array<string, mixed>

$data

_getPdfProfileTemplates()

Returns the content of the account profile templates.

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

error reading template

Return values
array<string, mixed>

$data

_getRequestAccessData()

Returns the content for request access requests.

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

error reading data

Return values
array<string, array<string|int, array<string, string>>>

data

_getSelfServiceProfiles()

Returns the content of the self-service profiles.

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

data

_getServerProfiles()

Returns the content of the server profiles.

public _getServerProfiles(array<string, LAMConfig$serverProfiles) : array<string, array<string, string|int|bool|null|object|array>>
Parameters
$serverProfiles : array<string, LAMConfig>

list of server profiles (name => object)

Return values
array<string, array<string, string|int|bool|null|object|array>>

data

_getWebauthn()

Returns the content of the webauthn database.

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

data

_getWhitePagesProfiles()

Returns the content of the white pages profiles.

public _getWhitePagesProfiles() : array<string, array<string, int|string|array[]>[]>>
Return values
array<string, array<string, int|string|array[]>[]>>

data

exportAsJson()

Exports LAM's configuration data in JSON format.

public exportAsJson() : string
Tags
throws
LAMException

error during export

Return values
string

JSON

Search results