Net_DNS2
[ class tree: Net_DNS2 ] [ index: Net_DNS2 ] [ all elements ]

Class: Net_DNS2_RR_NSEC

Source Location: /Net_DNS2-1.4.1/Net/DNS2/RR/NSEC.php

Class Overview

Net_DNS2_RR
   |
   --Net_DNS2_RR_NSEC

NSEC Resource Record - RFC3845 section 2.1


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: Net_DNS2_RR

Net_DNS2_RR::__construct()
Constructor - builds a new Net_DNS2_RR object
Net_DNS2_RR::buildString()
builds an array of strings from an array of chunks of text split by spaces
Net_DNS2_RR::cleanString()
cleans up some RR data
Net_DNS2_RR::formatString()
return a formatted string; if a string has spaces in it, then return it with double quotes around it, otherwise, return it as it was passed in.
Net_DNS2_RR::fromString()
parses a standard RR format lines, as defined by rfc1035 (kinda)
Net_DNS2_RR::get()
returns a binary packed DNS RR object
Net_DNS2_RR::parse()
parses a binary packet, and returns the appropriate Net_DNS2_RR object, based on the RR type of the binary content.
Net_DNS2_RR::rrFromString()
abstract definition - parses a RR from a standard DNS config line
Net_DNS2_RR::rrGet()
abstract definition - returns a binary packet DNS RR object
Net_DNS2_RR::rrSet()
abstract definition - sets a Net_DNS2_RR from a Net_DNS2_Packet object
Net_DNS2_RR::rrToString()
abstract definition - method to return a RR as a string; not to be confused with the __toString() magic method.
Net_DNS2_RR::set()
builds a new Net_DNS2_RR object
Net_DNS2_RR::__toString()
magic __toString() method to return the Net_DNS2_RR object object as a string

Class Details

[line 70]
NSEC Resource Record - RFC3845 section 2.1

  1. 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / Next Domain Name / +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / List of Type Bit Map(s) / +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+



[ Top ]


Class Variables

$next_domain_name =

[line 75]

  • Access: public

Type:   mixed


[ Top ]

$type_bit_maps = array()

[line 80]

  • Access: public

Type:   mixed


[ Top ]



Method Detail

rrFromString   [line 110]

boolean rrFromString( array $rdata)

parses the rdata portion from a standard DNS config line
  • Access: protected

Overrides Net_DNS2_RR::rrFromString() (abstract definition - parses a RR from a standard DNS config line)

Parameters:

array   $rdata   —  a string split line of values for the rdata

[ Top ]

rrGet   [line 161]

mixed rrGet( Net_DNS2_Packet &$packet)

returns the rdata portion of the DNS packet
  • Return: either returns a binary packed string or null on failure
  • Access: protected

Overrides Net_DNS2_RR::rrGet() (abstract definition - returns a binary packet DNS RR object)

Parameters:

Net_DNS2_Packet   &$packet   —  a Net_DNS2_Packet packet use for compressed names

[ Top ]

rrSet   [line 127]

boolean rrSet( Net_DNS2_Packet &$packet)

parses the rdata of the Net_DNS2_Packet object
  • Access: protected

Overrides Net_DNS2_RR::rrSet() (abstract definition - sets a Net_DNS2_RR from a Net_DNS2_Packet object)

Parameters:

Net_DNS2_Packet   &$packet   —  a Net_DNS2_Packet packet to parse the RR from

[ Top ]

rrToString   [line 89]

string rrToString( )

method to return the rdata portion of the packet as a string
  • Access: protected

Overrides Net_DNS2_RR::rrToString() (abstract definition - method to return a RR as a string; not to be confused with the __toString() magic method.)
[ Top ]


Documentation generated on Mon, 11 Mar 2019 16:01:45 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.