Documentation

Record extends Horde_Rdo_Base
in package
implements Record

Table of Contents

Interfaces

Record

Properties

$_mapper  : mixed

Methods

getComment()  : string
A comment on the record
getName()  : string
The record name
getTtl()  : int
The TTL value
getType()  : string
The record type
getValue()  : string|array<string|int, string>
The record value

Properties

$_mapper

protected mixed $_mapper = 'Horde\Dns\Db\RecordRepo'

Methods

getComment()

A comment on the record

public getComment() : string

Backends which do not implement a comment option should return an empty string

Return values
string

The comment

getName()

The record name

public getName() : string
Return values
string

The record's name

getTtl()

The TTL value

public getTtl() : int

Governs how long a record may be cached by clients or downstream DNS servers

Return values
int

The TTL

getType()

The record type

public getType() : string

Most prominent types are: A IPv4 host records, hostname to IP AAAA IPv6 host records, hostname to IP CNAME A lookup from one hostname to another hostname TXT Data records, for example anti spam or verification SRV Service lookup MX Mail handling delegation (righthand handles SMTP for lefthand) NS Point to a related name server

Return values
string

Type Designation

getValue()

The record value

public getValue() : string|array<string|int, string>

Depending on record type, this is a string or list of strings

Return values
string|array<string|int, string>

The comment


        
On this page

Search results