QuickBooks/XML/Node.php
public function addChild($node, $prepend = false)
	{
		if ($prepend)
		{
			array_unshift($this->_children, $node);
		}
		else
		{
			$this->_children[] = $node;
		}

		return true;
	}
public function addChild($node, $prepend = false)
	{
		if ($prepend)
		{
			array_unshift($this->_children, $node);
		}
		else
		{
			$this->_children[] = $node;
		}

		return true;
	}
Add a child tag (another node) to this tag

@param QuickBooks_XML_Node $node
@param boolean $prepend
@return boolean