public function formatQuery(array $data, array $formatted = array())
	{
		// Convert dot notation to multidimensional array elements.
		foreach ($data as $key => $value)
		{
			array_set($formatted, $key, $value);
		}
		return $formatted;
	}
public function formatQuery(array $data, array $formatted = array())
	{
		// Convert dot notation to multidimensional array elements.
		foreach ($data as $key => $value)
		{
			array_set($formatted, $key, $value);
		}
		return $formatted;
	}
public function formatQuery ( array $ data , array $ formatted = array ( ) ) { // Convert dot notation to multidimensional array elements. foreach ( $ data as $ key => $ value ) { array_set ( $ formatted , $ key , $ value ) ; } return $ formatted ; }
Format a query.

@param  array  $data
@param  array  $formatted
@return array
Format a query .