interface RecordCommentSyncInterface (View source)

Carries an edited record's comment over to its A/AAAA or PTR counterpart.

Methods

void
updateRelatedRecordComments(DomainRepositoryInterface $domainRepository, array $newRecordInfo, string $comment, string $userLogin, int $userId, Closure|null $zoneAllowed = null)

No description

Details

void updateRelatedRecordComments(DomainRepositoryInterface $domainRepository, array $newRecordInfo, string $comment, string $userLogin, int $userId, Closure|null $zoneAllowed = null)

No description

Parameters

DomainRepositoryInterface $domainRepository
array $newRecordInfo

Record row after the edit (type, name, content)

string $comment
string $userLogin
int $userId

The acting user; a related record is updated only in a zone this user may edit

Closure|null $zoneAllowed

Whether the comment may reach the related zone (an API key's zone scope)

Return Value

void