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

Class: Net_DNS_RR_LOC

Source Location: /Net_DNS-1.0.7/Net/DNS/RR/LOC.php

Class Overview

Net_DNS_RR
   |
   --Net_DNS_RR_LOC

License Information:


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 29]
License Information:

Net_DNS: A resolver library for PHP Copyright (c) 2002-2003 Eric Kilfoil eric@ypass.net Maintainers: Marco Kaiser <bate@php.net> Florian Anderiasch <fa@php.net> Ian Pye <ianbara@imap.cc>

PHP versions 4 and 5

LICENSE: This source file is subject to version 3.01 of the PHP license that is available through the world-wide-web at the following URI: http://www.php.net/license/3_01.txt. If you did not receive a copy of the PHP License and are unable to obtain it through the web, please send a note to license@php.net so we can mail you a copy immediately.

A representation of a resource record of type LOC



[ Top ]


Class Variables

$altitude =

[line 63]


Type:   mixed


[ Top ]

$conv_deg =  3600000

[line 42]


Type:   mixed


[ Top ]

$conv_min =  60000

[line 41]


Type:   mixed


[ Top ]

$conv_sec =  1000

[line 40]


Type:   mixed


[ Top ]

$data =

[line 51]


Type:   mixed


[ Top ]

$default_horiz_pre =  10000

[line 48]


Type:   mixed


[ Top ]

$default_min =  0

[line 45]


Type:   mixed


[ Top ]

$default_sec =  0

[line 46]


Type:   mixed


[ Top ]

$default_size =  1

[line 47]


Type:   mixed


[ Top ]

$default_vert_pre =  10

[line 49]


Type:   mixed


[ Top ]

$degree_latitude =

[line 64]


Type:   mixed


[ Top ]

$degree_longitude =

[line 65]


Type:   mixed


[ Top ]

$ew_hem =

[line 71]


Type:   mixed


[ Top ]

$hp =

[line 59]


Type:   mixed


[ Top ]

$min_latitude =

[line 66]


Type:   mixed


[ Top ]

$min_longitude =

[line 67]


Type:   mixed


[ Top ]

$ns_hem =

[line 70]


Type:   mixed


[ Top ]

$offset =

[line 52]


Type:   mixed


[ Top ]

$parsed =

[line 77]


Type:   mixed


[ Top ]

$pretty_print_string =

[line 74]


Type:   mixed


[ Top ]

$raw_alt =

[line 57]


Type:   mixed


[ Top ]

$raw_latitude =

[line 55]


Type:   mixed


[ Top ]

$raw_longitude =

[line 56]


Type:   mixed


[ Top ]

$reference_alt =  10000000

[line 35]


Type:   mixed


[ Top ]

$reference_latlon =  2147483648

[line 37]


Type:   mixed


[ Top ]

$sec_latitude =

[line 68]


Type:   mixed


[ Top ]

$sec_longitude =

[line 69]


Type:   mixed


[ Top ]

$size =

[line 58]


Type:   mixed


[ Top ]

$version =

[line 80]


Type:   mixed


[ Top ]

$vp =

[line 60]


Type:   mixed


[ Top ]



Method Detail

Net_DNS_RR_LOC (Constructor)   [line 94]

Net_DNS_RR_LOC Net_DNS_RR_LOC( $rro $rro, string $data, [int $offset = 0])

class constructor - RR(&$rro, $data, $offset = '')

Usage: $rr = new Net_DNS_RR_LOC($rro, $data, $offset); $rr->parse();


Parameters:

string   $data   —  String to parse
int   $offset   — 
$rro   $rro   — 

[ Top ]

latlon2dms   [line 246]

void latlon2dms( $rawmsec $rawmsec, $hems $hems, [bool $is_lat = false])

Now with added side effects, setting values for the class, while returning a formatted string.

Net_DNS_RR_LOC::latlon2dms($rawmsec, $hems, $is_lat) {{{

  • Todo: This should not change class state

Parameters:

bool   $is_lat   — 
$rawmsec   $rawmsec   — 
$hems   $hems   — 

[ Top ]

parse   [line 113]

void parse( )

Net_DNS_RR_LOC::parse() Parses the $data field set in the constructor.

[ Top ]

precsize_ntoval   [line 214]

int precsize_ntoval( $prec $prec)


Parameters:

$prec   $prec   — 

[ Top ]

precsize_valton   [line 225]

int precsize_valton( int $val)


Parameters:

int   $val   — 

[ Top ]

rdatastr   [line 162]

string rdatastr( )


Overrides Net_DNS_RR::rdatastr() (parent method not documented)
[ Top ]

rr_rdata   [line 181]

string rr_rdata( $packet $packet, $offset $offset)


Overrides Net_DNS_RR::rr_rdata() (parent method not documented)

Parameters:

$packet   $packet   — 
$offset   $offset   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:41:44 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.