classes/phing/tasks/ext/coverage/CoverageReportTask.php
protected function getSubpackageElement($subpackageName)
    {
        $subpackages = $this->doc->documentElement->getElementsByTagName('subpackage');

        foreach ($subpackages as $subpackage) {
            if ($subpackage->getAttribute('name') == $subpackageName) {
                return $subpackage;
            }
        }

        return null;
    }
protected function getSubpackageElement($subpackageName)
    {
        $subpackages = $this->doc->documentElement->getElementsByTagName('subpackage');

        foreach ($subpackages as $subpackage) {
            if ($subpackage->getAttribute('name') == $subpackageName) {
                return $subpackage;
            }
        }

        return null;
    }
protected function getSubpackageElement ( $ subpackageName ) { $ subpackages = $ this -> doc -> documentElement -> getElementsByTagName ( 'subpackage' ) ; foreach ( $ subpackages as $ subpackage ) { if ( $ subpackage -> getAttribute ( 'name' ) == $ subpackageName ) { return $ subpackage ; } } return null ; }
Returns the subpackage element

@param string $subpackageName The name of the subpackage

@author Benjamin Schultz <bschultz@proqrent.de>
@return DOMNode|null null when no DOMNode with the given name exists
Returns the subpackage element