QuickBooks/Callbacks/SQL/Callbacks.php
protected static function _buildIterator($extra, $version = null, $locale = null)
	{
		$xml = "";
		
		if ($locale == QUICKBOOKS_LOCALE_CA or $locale == QUICKBOOKS_LOCALE_UK or $locale == QUICKBOOKS_LOCALE_AU)
		{
			return '';
		}
		
		if (is_array($extra) and
			!empty($extra['iteratorID']))
		{
			$xml .= ' iterator="Continue" iteratorID="' . $extra['iteratorID'] . '" ';
		}
		else
		{
			$xml .= ' iterator="Start" ';
		}
			
		$xml .= '>' . "\n";
		$xml .= "\t" . '<MaxReturned>';
			
		if (is_array($extra) and
			!empty($extra['maxReturned']))
		{
			$xml .= $extra['maxReturned'];
		}
		else
		{
			$xml .= QUICKBOOKS_SERVER_SQL_ITERATOR_MAXRETURNED;
		}
			
		$xml .= '</MaxReturned';
		
		return $xml;
	}
protected static function _buildIterator($extra, $version = null, $locale = null)
	{
		$xml = "";
		
		if ($locale == QUICKBOOKS_LOCALE_CA or $locale == QUICKBOOKS_LOCALE_UK or $locale == QUICKBOOKS_LOCALE_AU)
		{
			return '';
		}
		
		if (is_array($extra) and
			!empty($extra['iteratorID']))
		{
			$xml .= ' iterator="Continue" iteratorID="' . $extra['iteratorID'] . '" ';
		}
		else
		{
			$xml .= ' iterator="Start" ';
		}
			
		$xml .= '>' . "\n";
		$xml .= "\t" . '<MaxReturned>';
			
		if (is_array($extra) and
			!empty($extra['maxReturned']))
		{
			$xml .= $extra['maxReturned'];
		}
		else
		{
			$xml .= QUICKBOOKS_SERVER_SQL_ITERATOR_MAXRETURNED;
		}
			
		$xml .= '</MaxReturned';
		
		return $xml;
	}
Used to build the iterator part of the XML string for every qbXML *QueryRq method

Note: Funtion is intentionally returning a string without a closing '>', reason being so that people writing
new functions for this class won't be confused, since they have to call the function in the middle of an
XML tag, makes sense for them to have a closing bracket there

@param mixed $extra 		The $extra value that is passed to the method you're calling this from
@return string