src/XML/DOM/Node.php
public function getChild( $nodeName )
	{
		for( $i=0; $i<count( $this->children ); $i++ )
			if( $this->children[$i]->getNodeName() == $nodeName )
				return $this->children[$i];
		throw new InvalidArgumentException( 'Child Node with Node Name "'.$nodeName.'" is not existing.' );
	}
public function getChild( $nodeName )
	{
		for( $i=0; $i<count( $this->children ); $i++ )
			if( $this->children[$i]->getNodeName() == $nodeName )
				return $this->children[$i];
		throw new InvalidArgumentException( 'Child Node with Node Name "'.$nodeName.'" is not existing.' );
	}
public function getChild ( $ nodeName ) { for ( $ i = 0 ; $ i < count ( $ this -> children ) ; $ i ++ ) if ( $ this -> children [ $ i ] -> getNodeName ( ) == $ nodeName ) return $ this -> children [ $ i ] ; throw new InvalidArgumentException ( 'Child Node with Node Name "' . $ nodeName . '" is not existing.' ) ; }
Returns a Child Nodes by its name.
@access		public
@param		string		$nodeName		Name of Child Node
@return		XML_DOM_Node
Returns a Child Nodes by its name .