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

Class: Net_Nmap_Parser

Source Location: /Net_Nmap-1.0.5/Net/Nmap/Parser.php

Class Overview

XML_Parser
   |
   --Net_Nmap_Parser

Parses a Nmap XML output file


Author(s):

Copyright:

  • 2008 Luca Corbo

Methods


Inherited Variables

Inherited Methods


Class Details

[line 47]
Parses a Nmap XML output file


[ Top ]


Method Detail

cdataHandler   [line 163]

void cdataHandler( resource $parser, string $data)

handle character data
  • Return: | true if $data is empty
  • Access: public

Parameters:

resource   $parser   —  xml parser resource
string   $data   —  data

[ Top ]

endHandler   [line 142]

void endHandler( resource $parser, string $name)

end handler
  • Access: public

Parameters:

resource   $parser   —  xml parser resource
string   $name   —  element name

[ Top ]

getHosts   [line 176]

ArrayIterator getHosts( )

Get all the discovered hosts
  • Return: The discovered hosts
  • Access: public

[ Top ]

getStats   [line 186]

Net_Nmap_Stats getStats( )

Get Nmap Statistics
  • Return: Return an Nmap Stats Object
  • Access: public

[ Top ]

startHandler   [line 70]

void startHandler( resource $parser, string $name, array $attribs)

start handler
  • Access: public

Parameters:

resource   $parser   —  xml parser resource
string   $name   —  element name
array   $attribs   —  attributes

[ Top ]


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