public function items($path) {
		if($this->xpath === null)
			return array();
		$r = array();
		$nodes = $this->xpath->evaluate($path);
		foreach($nodes as $n)
			$r[] = new Node($n);
		return $r;
	}
public function items($path) {
		if($this->xpath === null)
			return array();
		$r = array();
		$nodes = $this->xpath->evaluate($path);
		foreach($nodes as $n)
			$r[] = new Node($n);
		return $r;
	}
public function items ( $ path ) { if ( $ this -> xpath === null ) return array ( ) ; $ r = array ( ) ; $ nodes = $ this -> xpath -> evaluate ( $ path ) ; foreach ( $ nodes as $ n ) $ r [ ] = new Node ( $ n ) ; return $ r ; }
Returns an array of children.

@param string path Path to the nodes.

@return array Array of Node objects.
Returns an array of children .