protected function _asArrayPathsHelper($node, $current, &$paths)
	{
		if ($node->hasChildNodes())
		{
			foreach ($node->children() as $child)
			{
				$this->_asArrayPathsHelper($child, $current . ' ' . $node->name(), $paths);
			}
		}
		else if ($node->hasData())
		{
			$paths[trim($current . ' ' . $node->name())] = $node->data();
		}
	}
protected function _asArrayPathsHelper($node, $current, &$paths)
	{
		if ($node->hasChildNodes())
		{
			foreach ($node->children() as $child)
			{
				$this->_asArrayPathsHelper($child, $current . ' ' . $node->name(), $paths);
			}
		}
		else if ($node->hasData())
		{
			$paths[trim($current . ' ' . $node->name())] = $node->data();
		}
	}
protected function _asArrayPathsHelper ( $ node , $ current , & $ paths ) { if ( $ node -> hasChildNodes ( ) ) { foreach ( $ node -> children ( ) as $ child ) { $ this -> _asArrayPathsHelper ( $ child , $ current . ' ' . $ node -> name ( ) , $ paths ) ; } } else if ( $ node -> hasData ( ) ) { $ paths [ trim ( $ current . ' ' . $ node -> name ( ) ) ] = $ node -> data ( ) ; } }
Helper function for converting to an array mapping paths to tag values

@param QuickBooks_XML_Node $node
@param string $current
@param array $paths
@return void
Helper function for converting to an array mapping paths to tag values