Moodle  2.2.1
http://www.collinsharper.com
CoverageXmlParser Class Reference
Inheritance diagram for CoverageXmlParser:
Collaboration diagram for CoverageXmlParser:

Public Member Functions

 startHandler ($xp, $name, $attrs)
 getCoverageData ()

Protected Attributes

 $_data = array()
 $_lastFilePath

Detailed Description

Definition at line 31 of file CoverageXmlParser.php.


Member Function Documentation

Returns coverage data array from the XML Format: Array ( [/php/src/remote/RemoteCoverageRecorder.php] => Array ( [220] => 1 [221] => 1 )

[/opt/oss/share/apache2/htdocs/web/sample.php] => Array ( [16] => 1 [18] => 1 ) )

public

Definition at line 86 of file CoverageXmlParser.php.

startHandler ( xp,
name,
attributes 
)

Function to handle start of an element

Parameters:
$xpXMLParser handle
$nameElement name
$attributesAttribute array public

Reimplemented from BasicXmlParser.

Definition at line 40 of file CoverageXmlParser.php.

Here is the call graph for this function:


Field Documentation

$_data = array() [protected]

Definition at line 34 of file CoverageXmlParser.php.

$_lastFilePath [protected]

Definition at line 35 of file CoverageXmlParser.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations