RecordManagerService
class RecordManagerService (View source)
Methods
__construct(PDO $db, DomainRepositoryInterface $domainRepository, RecordManagerInterface $recordManager, RecordCommentService $recordCommentService, AuditService $audit, ConfigurationManager $config, DnsBackendProvider|null $backendProvider = null)
No description
createRecord(int $zone_id, string $name, string $type, string $content, int $ttl, int $prio, string $comment, string $userlogin, int $disabled = 0)
Creates the record and, on success, logs, rectifies and stores the comment.
Details
__construct(PDO $db, DomainRepositoryInterface $domainRepository, RecordManagerInterface $recordManager, RecordCommentService $recordCommentService, AuditService $audit, ConfigurationManager $config, DnsBackendProvider|null $backendProvider = null)
No description
RecordWriteResult
createRecord(int $zone_id, string $name, string $type, string $content, int $ttl, int $prio, string $comment, string $userlogin, int $disabled = 0)
Creates the record and, on success, logs, rectifies and stores the comment.
Failures come back as the result; nothing is written to MessageService.