Methods |
public
static
|
getInstance(): Module
|
#
|
public
static
|
Decorator(): Module
|
#
|
public
|
getModuleSettings(): Settings
|
#
|
public
|
init()
|
#
|
public
|
onAfterPopulateFileItem(array $aArgs, object &$oItem)
|
#
|
public
|
onGetBodyStructureParts($aParts, &$aResultParts)
|
#
|
public
|
onExtendMessageData($aData, &$oMessage)
|
#
|
public
|
onAfterCreateOrUpdateContact($aArgs, &$mResult)
|
#
|
public
|
onAfterGetContacts($aArgs, &$mResult)
The function copies values of user-related properties to the properties with original names.
Then it removes the user…
The function copies values of user-related properties to the properties with original names.
Then it removes the user-related flags cause they should be exposed to a user.
|
#
|
public
|
onAfterGetContactsByUids($aArgs, &$mResult)
The function copies values of user-related properties to the properties with original names.
Then it removes the user…
The function copies values of user-related properties to the properties with original names.
Then it removes the user-related flags cause they should be exposed to a user.
|
#
|
public
|
onCastExtendedProp($aArgs, &$mValue)
|
#
|
public
|
GetSettings(): array
Obtains list of module settings for authenticated user.
Obtains list of module settings for authenticated user.
Overrides
|
#
|
public
|
UpdateSettings($EnableModule, $RememberPassphrase)
|
#
|
public
|
AddPublicKeyToContactWithUUID(int $UserId, mixed $UUID, string $Key): bool
Summary of AddPublicKeyToContactWithUUID
Summary of AddPublicKeyToContactWithUUID
Throws
|
#
|
public
|
AddPublicKeyToContact($UserId, $Email, $Key, $UserName = '')
|
#
|
public
|
AddPublicKeysToContacts($UserId, $Keys)
|
#
|
public
|
RemovePublicKeyFromContact($UserId, $Email)
|
#
|
public
|
GetPublicKeysByCountactUUIDs(int $UserId, array $ContactUUIDs): array
The method returns list of PGP public keys with their ViewEmails for specified contacts.
The method returns list of PGP public keys with their ViewEmails for specified contacts.
Parameters
$UserId |
User ID. Provided automatically by WebAPI wrapper.
|
$ContactUUIDs |
List of contact IDs.
|
|
#
|
public
|
GetPublicKeysFromContacts($UserId)
|
#
|
public
|
UpdateContactPublicKeyFlags($UserId, $UUID, $PgpEncryptMessages = false, $PgpSignMessages = false)
|
#
|
public
|
UpdateOwnContactPublicKey($UserId, $PublicPgpKey = '')
|
#
|
public
|
GetOwnContactPublicKey($UserId)
|
#
|
public
|
SaveKeyAsTempFile(int $UserId, string $Content, string $FileName): array|bool
|
#
|