RecordDisplay
class RecordDisplay (View source)
Value object representing a DNS record prepared for display Encapsulates both the raw record data and display-specific transformations
Methods
No description
Get the display name (what users see in the UI)
Get the editable name (what appears in form inputs)
Get the original record ID
Get the original record name (FQDN)
Get the record type
Get the record content
Get the record TTL
Get the record priority
Get the record comment
Check if record is disabled
Check if hostname-only display is active
Get all raw record data
Convert to array for template consumption
Details
__construct(array $recordData, string $displayName, string $editableName, bool $isHostnameOnly = false)
No description
string
getDisplayName()
Get the display name (what users see in the UI)
string
getEditableName()
Get the editable name (what appears in form inputs)
int
getId()
Get the original record ID
string
getName()
Get the original record name (FQDN)
string
getType()
Get the record type
string
getContent()
Get the record content
int
getTtl()
Get the record TTL
int|null
getPriority()
Get the record priority
string|null
getComment()
Get the record comment
bool
isDisabled()
Check if record is disabled
bool
isHostnameOnly()
Check if hostname-only display is active
array
getRawData()
Get all raw record data
array
toArray()
Convert to array for template consumption