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

Class: Net_DNS2_RR_EUI64

Source Location: /Net_DNS2-1.3.2/Net/DNS2/RR/EUI64.php

Class Overview

Net_DNS2_RR
   |
   --Net_DNS2_RR_EUI64

EUI64 Resource Record - RFC7043 section 4.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]
EUI64 Resource Record - RFC7043 section 4.1

  1. 1 2 3
  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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | EUI-48 Address | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+



[ Top ]


Class Variables

$address =

[line 75]

  • Access: public

Type:   mixed


[ Top ]



Method Detail

rrFromString   [line 98]

boolean rrFromString( $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 166]

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 138]

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 84]

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 Sun, 01 Dec 2013 01:30:12 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.