LDAP Account Manager

WhitePagesPersistenceStrategy
in

Interface for white pages profile persistence.

Table of Contents

canWrite()  : bool
Returns if the profile with given name can be written.
delete()  : void
Deletes a white pages profile.
getProfiles()  : array<string|int, string>
Returns a list of available white pages profiles.
load()  : WhitePagesProfile
Loads the given white pages profile.
rename()  : void
Renames a white pages profile.
save()  : void
Stores the given profile.

Methods

canWrite()

Returns if the profile with given name can be written.

public canWrite(string $name) : bool
Parameters
$name : string

profile name

Return values
bool

can be written

delete()

Deletes a white pages profile.

public delete(string $name) : void
Parameters
$name : string

profile name

Tags
throws
LAMException

error renaming profile

Return values
void

getProfiles()

Returns a list of available white pages profiles.

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

profile names

rename()

Renames a white pages profile.

public rename(string $oldName, string $newName) : void
Parameters
$oldName : string

existing profile name

$newName : string

new profile name

Tags
throws
LAMException

error renaming profile

Return values
void

Search results